gitHubFlavored property
The gitHubFlavored extension set is close to compliance with the GitHub flavored Markdown spec.
Implementation
static final ExtensionSet gitHubFlavored = ExtensionSet(
List<BlockSyntax>.unmodifiable(
<BlockSyntax>[
const FencedCodeBlockSyntax(),
const TableSyntax(),
// Must precede the list syntaxes below: a lone `-` (or `=`) line
// continuing a paragraph is a setext heading underline, not an empty
// list item. See https://github.com/dart-lang/tools/issues/2108.
const SetextHeaderSyntax(),
const UnorderedListWithCheckboxSyntax(),
const OrderedListWithCheckboxSyntax(),
const FootnoteDefSyntax(),
],
),
List<InlineSyntax>.unmodifiable(
<InlineSyntax>[
InlineHtmlSyntax(),
StrikethroughSyntax(),
AutolinkExtensionSyntax()
],
),
);