From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/13732 Path: news.gmane.org!not-for-mail From: John MACFARLANE Newsgroups: gmane.text.pandoc Subject: Re: YAML closing delimiter Date: Tue, 13 Oct 2015 11:09:44 -0700 Message-ID: <20151013180944.GB6891@D25Q40BGFY13.Berkeley.EDU> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed X-Trace: ger.gmane.org 1444759816 4915 80.91.229.3 (13 Oct 2015 18:10:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Oct 2015 18:10:16 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB5MR6WYAKGQE2DKFTQI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 13 20:10:01 2015 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ob0-f184.google.com ([209.85.214.184]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zm41P-0003jd-69 for gtp-pandoc-discuss@m.gmane.org; Tue, 13 Oct 2015 20:09:59 +0200 Original-Received: by obbbh8 with SMTP id bh8sf4694091obb.0 for ; Tue, 13 Oct 2015 11:09:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=from:date:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe; bh=577YE6/VKVgcFJxlNNJLA9e5SVAIoH5+DDGKc5KLtpM=; b=C1mucY+xOuMYKRYSS273lLivcyXkFLAu1oqO9YZS3ajJyN8Uo8OkdUDigivnkfJw54 lVFdpCpxqFZPM0EjFnSJX5xAOINuaXxC9m/0dpQ5uljSSCh4pofHqqrMXSX94QmAoTnp vh2o3ppmiME67OXERCpMMyRbSmDB8nmkdB1z51Fea/S3G7svYscTGBjge707sStS6TsZ L0kEqQkI3B2dX/jc1HpihpTy3cGu+TIRuAVqEeM1wnk+O7It1EGETVunVbA+1lzuXKKx mfkra/zNktKG5Yeb7JRasVepLfgnAyK/NqHnmTDHbIdjiVYTZKXLmBpiV8aZCchid41K X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe; bh=577YE6/VKVgcFJxlNNJLA9e5SVAIoH5+DDGKc5KLtpM=; b=kOcPE5rpOhBN5KwHJI+tIKBKNbCe5q/ocG8acCkHeCbIBcDzHEMIVq6OjhA6R7ZMRi q8hoFkaTL/lii4YNyxx9pOx3aeaqhOlEv+oV8ldvIp1tapJhTeDTy2Ly61bL2P19AyDr tKLYNe6TrypvleI3p2NH4xISTLDVenX+uMvR2TyEwa/XUMakDpkWMX9n7TgDqwnVGFNV j1a0Zq9mXw0dhvXAUtT3Ts+VwNeUyHauNDBTwvxuPg9a1uWSz6oCujlWxp8oeDd/bR5v AFjx7SXZlNGETtEsmrY54pKjdpfj0rtDnCElFmaE0u5CtH X-Received: by 10.140.96.2 with SMTP id j2mr302107qge.19.1444759798399; Tue, 13 Oct 2015 11:09:58 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.140.17.147 with SMTP id 19ls158916qgd.23.gmail; Tue, 13 Oct 2015 11:09:57 -0700 (PDT) X-Received: by 10.129.103.4 with SMTP id b4mr29904957ywc.24.1444759797623; Tue, 13 Oct 2015 11:09:57 -0700 (PDT) Original-Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com. [209.85.220.49]) by gmr-mx.google.com with ESMTPS id uv4si513908pac.0.2015.10.13.11.09.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Oct 2015 11:09:57 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 209.85.220.49 as permitted sender) client-ip=209.85.220.49; Original-Received: by mail-pa0-f49.google.com with SMTP id rc13so28127009pab.0 for ; Tue, 13 Oct 2015 11:09:57 -0700 (PDT) X-Gm-Message-State: ALoCoQmd1CDjwdSM1mi6Bv87ile2Lj7r7LG0gv9a8ZuXymWtn9e8ZRvtUd82y34B9tpnmVphD/63 X-Received: by 10.66.101.68 with SMTP id fe4mr42693601pab.30.1444759797375; Tue, 13 Oct 2015 11:09:57 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id cn4sm5065569pbc.94.2015.10.13.11.09.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Oct 2015 11:09:56 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 3C975A312; Tue, 13 Oct 2015 14:09:45 -0400 (EDT) Content-Disposition: inline In-Reply-To: X-PGP-Key: http://johnmacfarlane.net/jgm.asc User-Agent: Mutt/1.5.23 (2014-03-12) X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 209.85.220.49 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:13732 Archived-At: Best solution would be to ask these other processors to support ... as closing delimiter -- since after all this is a standard YAML. (Another advantage is that if you use ---, many markdown syntax highlighters will highlight the last line of your metadata as a title, which looks bad.) +++ John Muccigrosso [Oct 13 15 09:11 ]: > 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 [1]gitit also uses the periods to close the front matter > by the logic that sections constitutes a YAML document which [2]takes > that delimiter. > However this seems not to be the case in at least some other > environments that use YAML for front matter, like [3]Jekyll and > [4]Assemble. > For me, this means that the YAML front matter in pandoc-generated > markdown docs doesn't get read correctly in, for example, [5]MacDown, > 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 [6]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [7]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [8]https://groups.google.com/d/msgid/pandoc-discuss/ebb2d862-397d-4e25- > 9e7e-fb54323a81c2%40googlegroups.com. > For more options, visit [9]https://groups.google.com/d/optout. > >References > > 1. https://github.com/jgm/gitit/blob/22b7f66c79068a7da3a44d3ada8e5133ea334d95/README.markdown > 2. http://www.yaml.org/spec/1.2/spec.html#marker/document end/ > 3. http://jekyllrb.com/docs/frontmatter/ > 4. http://assemble.io/docs/YAML-front-matter.html > 5. https://macdown.uranusjr.com/ > 6. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 7. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 8. https://groups.google.com/d/msgid/pandoc-discuss/ebb2d862-397d-4e25-9e7e-fb54323a81c2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer > 9. https://groups.google.com/d/optout