MarkdownLoadOptions.ImportUnderlineFormatting

MarkdownLoadOptions ImportUnderlineFormatting property. Gets or sets a boolean value indicating either to recognize a sequence of two plus characters as underline text formatting. The default value is false.

MarkdownLoadOptions.ImportUnderlineFormatting property

Gets or sets a boolean value indicating either to recognize a sequence of two plus characters “++” as underline text formatting. The default value is false.

public bool ImportUnderlineFormatting { get; set; }

Examples

Shows how to recognize plus characters “++” as underline text formatting.

MarkdownLoadOptions mdLoadOptions = new MarkdownLoadOptions();
mdLoadOptions.ImportUnderlineFormatting = true;

Converter.Create()
    .From(MyDir + "Simple.md", mdLoadOptions)
    .To(ArtifactsDir + "MarkdownLoadOptions.ImportUnderlineFormatting.docx")
    .Execute();

See Also