Thanks. Is that documented? From a quick scan I didn't see it at https://pandoc.org/MANUAL.html#extension-yaml_metadata_block (but maybe I missed it). On Tue, 21 Jun 2022 at 14:54, Albert Krewinkel wrote: > > William Lupton writes: > > > Perhaps there are some heuristics that control whether pandoc decides > > that a given block is YAML. Maybe lines like this one are being taken > > to be YAML? > > The heuristic applied by pandoc is "if there's a line containing the > string `---`, and if that line is not followed by a blank line, and if > there's a closing `---` later in the text, then treat it as a YAML > block. > > So adding a blank line after `---` should fix this as well. > > > -- > Albert Krewinkel > GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 > > -- > You received this message because you are subscribed to the Google Groups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/87a6a6nmug.fsf%40zeitkraut.de > . > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xximH93ZyPmbVwPUVonnwTBgj1WB-2x2GMF_%2BbBefAW%3DEA%40mail.gmail.com.