You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using python-markdown for a project where the Markdown is also converted to PDF with pandoc. Since pandoc does not support the admonition syntax of python-markdown (jgm/pandoc#2610), I use custom HTML tags (<warning>, <important>, <tip>) instead which are easy to write a filter for in Pandoc. I enabled the tags by setting block_level_elements and would like to enable Markdown parsing inside them by default, so that we don't always have to specify the markdown attribute.
Would you accept a pull request adding an enabled_tags configuration option to the md_in_html extension? MarkdownInHtmlExtension(enabled_tags=['warning']) would enable Markdown in <warning> tags by default.
The text was updated successfully, but these errors were encountered:
I am using python-markdown for a project where the Markdown is also converted to PDF with pandoc. Since pandoc does not support the admonition syntax of python-markdown (jgm/pandoc#2610), I use custom HTML tags (
<warning>
,<important>
,<tip>
) instead which are easy to write a filter for in Pandoc. I enabled the tags by settingblock_level_elements
and would like to enable Markdown parsing inside them by default, so that we don't always have to specify themarkdown
attribute.Would you accept a pull request adding an
enabled_tags
configuration option to themd_in_html
extension?MarkdownInHtmlExtension(enabled_tags=['warning'])
would enable Markdown in<warning>
tags by default.The text was updated successfully, but these errors were encountered: