The Wikipedia page on YAML contains very good descriptions of the syntax, both terse listing of syntax rules and more explanatory.

https://en.m.wikipedia.org/wiki/YAML

Note that some of the more advanced features don't make sense in Pandoc metadata and/or are not supported by the parser Pandoc uses.

/bpj

Den 20 sep 2017 18:51 skrev "R (Chandra) Chandrasekhar" <chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
Thank you. Both single and double quotes work.

I do not know YAML well and think that I had been overly fixated on backslash escaping to consider alternatives.

Chandra

On 20/09/17 22:11, Gwern Branwen wrote:
Don't you quote it like any other string literal?

     ---
     title: "This title: has a colon"
     ----

That's always seemed to fix escaping problems in my Hakyll files' metadata.


--
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@googlegroups.com.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.orgm.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/16f23044-d51d-cb0d-fb5e-63f11df2ed5a%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAFC_yuRBc0CvG8hgV0z%2BHZzwmRcWXjC7KrL1Rtvj1xyY%3D0-OUw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.