gitHubWeb property

ExtensionSet gitHubWeb
final

The gitHubWeb extension set renders Markdown similarly to GitHub.

This is different from the gitHubFlavored extension set in that GitHub actually renders HTML different from straight GitHub flavored Markdown.

(The only difference currently is that gitHubWeb renders headers with linkable IDs.)

Implementation

static final ExtensionSet gitHubWeb = ExtensionSet(
  List<BlockSyntax>.unmodifiable(
    <BlockSyntax>[
      const FencedCodeBlockSyntax(),
      const HeaderWithIdSyntax(),
      const SetextHeaderWithIdSyntax(),
      const TableSyntax(),
      const UnorderedListWithCheckboxSyntax(),
      const OrderedListWithCheckboxSyntax(),
      const FootnoteDefSyntax(),
      const AlertBlockSyntax(),
    ],
  ),
  List<InlineSyntax>.unmodifiable(
    <InlineSyntax>[
      InlineHtmlSyntax(),
      StrikethroughSyntax(),
      EmojiSyntax(),
      ColorSwatchSyntax(),
      AutolinkExtensionSyntax()
    ],
  ),
);