MarkdownAutoIdentifierOptions Enum
Configures how MarkdownExtensions.AutoIdentifiers makes the identifiers of the headings.
[Flags]
public enum MarkdownAutoIdentifierOptionsFields
| Name | Value | Description |
|---|---|---|
None | 0 | The identifier keeps the letters of any script, and a reference link cannot link to a heading. |
AutoLink | 1 | A reference link whose label is the text of a heading, such as [Getting started], links to it, unless a link reference definition has this label. |
AllowOnlyAscii | 2 | The identifier only has ASCII characters: the accents are removed, and the other letters are written in ASCII when they can be (ß becomes ss) or removed. |
Default | 3 | The default options: MarkdownAutoIdentifierOptions.AutoLink and MarkdownAutoIdentifierOptions.AllowOnlyAscii. |
GitHub | 4 | The identifier is made as GitHub makes it: the letters, the combining marks, the digits, - and _ are kept, in lower case, and each space becomes -. |