public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: BP Jonsson <bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Colon in title in YAML header block
Date: Wed, 20 Sep 2017 22:13:15 +0200	[thread overview]
Message-ID: <CAFC_yuRBc0CvG8hgV0z+HZzwmRcWXjC7KrL1Rtvj1xyY=0-OUw@mail.gmail.com> (raw)
In-Reply-To: <16f23044-d51d-cb0d-fb5e-63f11df2ed5a-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2032 bytes --]

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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/ms
> gid/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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.

[-- Attachment #2: Type: text/html, Size: 3546 bytes --]

  parent reply	other threads:[~2017-09-20 20:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-20 16:35 R (Chandra) Chandrasekhar
     [not found] ` <ffc43c46-a1a5-cb39-b103-cc0a8dddcb19-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-09-20 16:41   ` Gwern Branwen
     [not found]     ` <CAMwO0gy5r5TA_PDEzYZLW7yHU2kYOqPdHWGWHE8oY3ZzAWdnSw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-09-20 16:51       ` R (Chandra) Chandrasekhar
     [not found]         ` <16f23044-d51d-cb0d-fb5e-63f11df2ed5a-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-09-20 20:13           ` BP Jonsson [this message]
     [not found]             ` <CAFC_yuRBc0CvG8hgV0z+HZzwmRcWXjC7KrL1Rtvj1xyY=0-OUw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-09-21  3:44               ` R (Chandra) Chandrasekhar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFC_yuRBc0CvG8hgV0z+HZzwmRcWXjC7KrL1Rtvj1xyY=0-OUw@mail.gmail.com' \
    --to=bpjonsson-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).