Ah, I think that horizontal rules are getting interpreted as YAML metadata block delimiters.

I tried changing all "---" to "- - -" (https://pandoc.org/MANUAL.html#horizontal-rules) and everything is now fine.

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?

`_ACTION: "vs2005"`

 I don't know whether there's a way around this without editing the input file.

On Tue, 21 Jun 2022 at 10:55, almaghfuur lahu <budikusasi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
The .md file is github's

https://drive.google.com/file/d/1m2mlt7fg6WiI5OpCMPAhuG7uSjWdzB16/view?usp=sharing

On Tuesday, 21 June 2022 at 16:37:43 UTC+7 William Lupton wrote:
probably a syntax error in a YAML metadata block. can you provide the input (or at least the first part of it)?

On Tue, 21 Jun 2022 at 10:27, almaghfuur lahu <budik...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
$ pandoc GENIe_scripting_reference.md -o GENIe_scripting_reference.pdf
YAML parse exception at line 9, column 9: mapping values are not allowed in this context

Any knowledge on what's goin on and its solution ?

--
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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/6a390800-289b-4932-9d26-b6158f76aa11n%40googlegroups.com.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/4ce1cfe9-8c01-4882-af2d-38ffacb7df3cn%40googlegroups.com.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxjEx9ttLuEmyb%3D0N7nJ8%3Do5T689krJVTgPFJQRPVTvnkw%40mail.gmail.com.