Table of Contents

Enum MarkdownFlavor

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

The Markdown dialect the reader and writer speak.

public enum MarkdownFlavor

Fields

CommonMark = 0

CommonMark 0.31.2 (2024-01-28), and nothing beyond it. A | table, a strikethrough and a - [ ] task item are ordinary text under this setting, because that is what CommonMark says they are.

GitHubFlavored = 1

GitHub Flavored Markdown: CommonMark 0.31.2 plus the three GFM extensions DocWright implements — tables, strikethrough and task list items. The default, because a document carrying a table is the reason most callers reach for Markdown import at all.

Remarks

"Markdown" is not a specification, which is why this enumeration exists and why §3.3 of the phase scope requires the flavour to be named precisely rather than implied. Both members below name a published document, not a preference.