From ade7618250406d55a62464e2a222b077ea18c6c2 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 29 Mar 2023 11:27:44 +0200 Subject: [PATCH 1/1] disable YAML metadata block when parsing markdown --- .config/mutt/markdown2html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.5