NormalizeOptions Class

Defines the options used by NormalizeRenderer

public class NormalizeOptions

Constructors

NameDescription
NormalizeOptions()Initialize a new instance of NormalizeOptions

NormalizeOptions()

NormalizeOptions.cs

Initialize a new instance of NormalizeOptions

public NormalizeOptions()

Properties

NameDescription
EmptyLineAfterCodeBlockAdds an empty line after a code block (fenced and tabbed). Default is true
EmptyLineAfterHeadingAdds an empty line after an heading. Default is true
EmptyLineAfterThematicBreakAdds an empty line after an thematic break. Default is true
ExpandAutoLinksExpands AutoLinks to the normal inline representation. Default is true
ListItemCharacterThe bullet character used for list items. Default is null leaving the original bullet character as-is.
SpaceAfterQuoteBlockAdds a space after a QuoteBlock >. Default is true

EmptyLineAfterCodeBlock

NormalizeOptions.cs

Adds an empty line after a code block (fenced and tabbed). Default is true

public bool EmptyLineAfterCodeBlock { get; set; }

Property value

bool

EmptyLineAfterHeading

NormalizeOptions.cs

Adds an empty line after an heading. Default is true

public bool EmptyLineAfterHeading { get; set; }

Property value

bool

EmptyLineAfterThematicBreak

NormalizeOptions.cs

Adds an empty line after an thematic break. Default is true

public bool EmptyLineAfterThematicBreak { get; set; }

Property value

bool

ListItemCharacter

NormalizeOptions.cs

The bullet character used for list items. Default is null leaving the original bullet character as-is.

public char? ListItemCharacter { get; set; }

Property value

char?

SpaceAfterQuoteBlock

NormalizeOptions.cs

Adds a space after a QuoteBlock >. Default is true

public bool SpaceAfterQuoteBlock { get; set; }

Property value

bool