Skip to content

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

Kurt Pfeifle edited this page Jul 27, 2015 · 12 revisions
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. Pandoc also supports markdown_strict. Here the only extension enabled by default is raw_html.

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)