From: martin f. krafft Date: Wed, 29 Mar 2023 09:27:44 +0000 (+0200) Subject: disable YAML metadata block when parsing markdown X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/ade7618250406d55a62464e2a222b077ea18c6c2?hp=23c9ed5dea01349dd7c978265ad2dd2c53bc53e1 disable YAML metadata block when parsing markdown --- diff --git a/.config/mutt/markdown2html b/.config/mutt/markdown2html index 1a14f9d..a3c0f39 100755 --- a/.config/mutt/markdown2html +++ b/.config/mutt/markdown2html @@ -251,7 +251,8 @@ def _convert_with_pandoc(mdwn, inputfmt='markdown', outputfmt='html5', ext_disabled = [ 'tex_math_single_backslash', 'tex_math_dollars', 'smart', - 'raw_html' + 'raw_html', + 'yaml_metadata_block' ] enabled = '+'.join(ext_enabled)