Import std.text.markdown
MarkdownExtensions
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.
-
CommonMark alone.
-
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.
-
A list item that starts with
[ ],[x], or[X]is a task, not done or done. -
Text between ~ or ~~ is struck through.
-
A link from an http://, https://, or ftp:// URL, a www. address, or an e-mail address, with a space, a line's start, or an opening bracket before it, and a space, a line's end, a closing bracket, or '.', '!', '?', ',', or ';' after it. A host is letters, digits, '.', '-', and '_', a path those and '/', and then a query of those, '&', '+', '=', '(', and ')', and a fragment can follow; one with a port, a '%', or a '~', say, is a link only between '<' and '>', as CommonMark has it.
-
All four, as md4c's dialect of GitHub's Markdown has them.
Report an issue with this page or with FutureBlitz on GitHub.