Skip to content

Tabular overview: Pandoc's supported Markdown dialects and extensions enabled by default

John MacFarlane edited this page Mar 5, 2018 · 12 revisions

Update

As of Pandoc v1.18 (released 26 Oct 2016) and all later releases, the following table isn't all that useful any more. The Pandoc command

 pandoc --list-extensions

will print all available extensions for your current pandoc binary, as well as their enabled (+) or disabled (-) status.

For information about the different sets of extensions enabled in different Markdown dialects consult the manpage; look for the "Markdown variants" part.


Table (valid for Pandoc v1.15.x)

Extension markdown (Pandoc) markdown_phpextra markdown_github markdown_mmd markdown_strict
abbreviations no yes no no no
all_symbols_escapable yes no no yes no
ascii_identifiers no no yes no no
auto_identifiers yes no yes yes no
autolink_bare_uris no no yes no no
backtick_code_blocks yes no yes no no
blank_before_blockquote yes! no no no no
blank_before_header yes! no no no no
citations yes no no no no
compact_definition_lists no no no no no
definition_lists yes yes no yes no
epub_html_exts (LOOKUP!) yes no no no no
escaped_line_breaks yes no no no no
example_lists yes no no no no
fancy_lists yes no no no no
fenced_code_attributes yes no no no no
fenced_code_blocks yes yes yes no no
footnotes yes yes no yes no
grid_tables yes no no no no
hard_line_breaks no no yes no no
header_attributes yes yes no no no
ignore_line_breaks no no no no no
implicit_figures yes no no no no
implicit_header_references yes no no yes no
inline_code_attributes yes no no no no
inline_notes yes no no no no
intraword_underscores yes yes yes yes no
latex_macros yes no no no no
line_blocks yes no no no no
link_attributes no no no yes no
lists_without_preceding_blankline no no yes no no
literate_haskell / lhs yes no no no no
markdown_attribute no yes no yes no
mmd_header_identifiers no no no yes no
mmd_title_block no no no yes no
multiline_tables yes no no no no
native_divs yes no no no no
native_spans yes no no no no
pandoc_title_block yes no no no no
pipe_tables yes yes yes yes no
raw_html yes yes yes yes yes
raw_tex yes no no yes no
shortcut_reference_links yes yes yes no yes
simple_tables yes no no no no
startnum yes no no no no
strikeout yes no yes no no
table_caption yes no no no no
tex_math_dollars yes no no no no
tex_math_double_backslash no no no yes no
tex_math_single_backslash no no yes no no
yaml_metadata_block yes no no no no

Notes:

  1. Each extension which is enabled by default can be disabled by attaching the -EXTENSIONNAME to the markdown format specifier.
  2. Each extension which is disabled by default can be enabled by attaching the +EXTENSIONNAME to the markdown format specifier.
  3. Multiple extensions can be enabled or disabled at the same time, like this: markdown+EXT1-EXT2-EXT3+EXT3.

Examples:

  1. Use -t markdown_mmd-pipe_tables+grid_tables if you want to generate Markdown with grid_tables.
  2. Another way for same purpose: Use -t markdown-multiline_tables-simple_tables-pipe_tables if you want to generate Markdown with grid_tables.
  3. There are more ways…

(Table compiled by evaluating the most recent Pandoc man page for v1.15.0.6)