jgm / pandocfilters

A python module for writing pandoc filters, with a collection of examples
BSD 3-Clause "New" or "Revised" License
512 stars 111 forks source link

Required markdown extension? #35

Closed dmckean closed 8 years ago

dmckean commented 8 years ago

It seems that several of the examples use the backtick_code_blocks markdown extension. Unless the user enables this, these examples will only work if using the markdown_github markdown variant.

jgm commented 8 years ago

No, backtick code blocks are enabled by default in pandoc's markdown.

+++ dmckean [Feb 18 16 19:44 ]:

It seems that several of the examples use the backtick_code_blocks markdown [1]extension. Unless the user enables this, these examples will only work if using the markdown_github markdown [2]variant.

— Reply to this email directly or [3]view it on GitHub.

References

  1. http://pandoc.org/README.html#extension-backtick_code_blocks
  2. http://pandoc.org/README.html#markdown-variants
  3. https://github.com/jgm/pandocfilters/issues/35
dmckean commented 8 years ago

You're right, my mistake. I was definitely writing poorly-formatted code blocks.