Table of Contents

Property KeepRawHtmlAsText

Namespace
DocWright.Formats.Markdown
Assembly
DocWright.Formats.Markdown.dll

KeepRawHtmlAsText

Gets or sets a value indicating whether raw HTML in the source is kept as literal text. True by default.

public bool KeepRawHtmlAsText { get; set; }

Property Value

bool

Remarks

CommonMark passes raw HTML through to its output. DocWright's output is a Word document, which has no HTML surface, so there are only two honest choices: keep the markup as visible text, or drop it. Keeping it is the default because the zero-silent-drops rule prefers content a user can see to content that vanished; either way the construct is reported. A caller who wants the HTML interpreted wants DocWright.Formats.Html, which is a different reader.