Skip to content
FutureBlitz

    Install

    Import std.text.markdown

    MarkdownExtensions

    std.text.markdown

    enum

    @Flags Public Enum MarkdownExtensions

    What a document can have past CommonMark, as md4c reads them, which is mostly as GitHub's Markdown does: tables, task lists (- [x] done), strikethrough, and links from bare URLs, www. addresses, and e-mail addresses.

    std/text/markdown.fb, line 25

    • None = 0 enum member #

      CommonMark alone.

    • Tables enum member #

      A table's delimiter row sets its columns, up to 128, so a row's cells past them are left out, and those it lacks are empty. A '|' in a code span doesn't split cells, and a "|" in a cell is a '|', a code span's too.

    • TaskLists enum member #

      A list item that starts with [ ], [x], or [X] is a task, not done or done.

    • Strikethrough enum member #

      Text between ~ or ~~ is struck through.

    • GitHub = Tables | TaskLists | Strikethrough | Autolinks enum member #

      All four, as md4c's dialect of GitHub's Markdown has them.

    Report an issue with this page or with FutureBlitz on GitHub.