public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* YAML closing delimiter
@ 2015-10-13 16:11 John Muccigrosso
       [not found] ` <ebb2d862-397d-4e25-9e7e-fb54323a81c2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: John Muccigrosso @ 2015-10-13 16:11 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1627 bytes --]

Pandoc uses 
...

as its closing delimiter in the YAML block. It will also *read *
---

 as one.


I see from the discussion when adding metadata to pandoc was being 
discussed that gitit also uses the periods 
<https://github.com/jgm/gitit/blob/22b7f66c79068a7da3a44d3ada8e5133ea334d95/README.markdown> 
to close the front matter by the logic that sections constitutes a YAML 
document which takes that delimiter. 
<http://www.yaml.org/spec/1.2/spec.html#marker/document%20end/>

However this seems not to be the case in at least some other environments 
that use YAML for front matter, like Jekyll 
<http://jekyllrb.com/docs/frontmatter/> and Assemble 
<http://assemble.io/docs/YAML-front-matter.html>.

For me, this means that the YAML front matter in pandoc-generated markdown 
docs doesn't get read correctly in, for example, MacDown 
<https://macdown.uranusjr.com>, which I use as a markdown editor, since it 
uses Jekyll to handle the front matter.

I raise this because I wonder how common a problem this is, and what the 
best solution might be.

-- 
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/ebb2d862-397d-4e25-9e7e-fb54323a81c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2736 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-10-21  4:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-13 16:11 YAML closing delimiter John Muccigrosso
     [not found] ` <ebb2d862-397d-4e25-9e7e-fb54323a81c2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-10-13 18:09   ` John MACFARLANE
     [not found]     ` <20151013180944.GB6891-4kKid1p5UN4xFjuZnxJpBp3lxR28IOakuDuwTybUTCk@public.gmane.org>
2015-10-13 20:54       ` John Muccigrosso
     [not found]         ` <08e65baa-f8d6-4437-af61-d106b36d1382-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-10-18  8:58           ` BPJ
     [not found]             ` <CADAJKhCt9EqV_v3XTrXq=oPFiOHnEsk5xEtB8wYiMKb3V0xDTw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-19  5:12               ` John MacFarlane
     [not found]                 ` <20151019051220.GA15885-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
2015-10-19  8:50                   ` BP Jonsson
     [not found]                     ` <5624AEDA.9050903-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-10-21  4:04                       ` John MacFarlane
2015-10-18 18:39           ` John Muccigrosso

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).