From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28528 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: William Lupton Newsgroups: gmane.text.pandoc Subject: Re: Syntax errors in YAML blocks Date: Thu, 3 Jun 2021 09:10:47 +0100 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000077925505c3d81d52" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21682"; mail-complaints-to="usenet@ciao.gmane.io" Cc: BPJ , pandoc-discuss To: John MacFarlane Original-X-From: pandoc-discuss+bncBCS4HJ6WSAHBBE454KCQMGQEHA4RH7Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jun 03 10:11:02 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f64.google.com ([209.85.167.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1loiRS-0005Ra-JE for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 03 Jun 2021 10:11:02 +0200 Original-Received: by mail-lf1-f64.google.com with SMTP id z1-20020a195e410000b0290229c07c3305sf2035264lfi.11 for ; Thu, 03 Jun 2021 01:11:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1622707862; cv=pass; d=google.com; s=arc-20160816; b=DR49Ypg+Hgf5VJ46Yth2ZvuvE7QAqTajN4pY9TfzjnNQacxNBWQcEoPXnPetEG0j9V dt+/FhW+c3Uqs/f5ZeYrqJwu9Cgcxqdamf1qdtEqedkgiJZrm7D4UTB9VFIOSv6bcPgD REbCem2hFKVGFWsXnYJ7zWfAXPDrJv0exsdA1z17ybw64W5QVQZ32Hemkd6pfbXj3qSw b6dIr+GwUcLCmr8awn5IYSAj9P6RpehdwaEtGGQoLiUnJgwZP7GH1PTwkHXCO6jfUZJt 8r1ja47hRqad6xxup6sftJ76HNQ0qHak5RFoU6mfHkg8Iw68LFj2RAJEJ+gWYn2aHPFd axpA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:cc:to:subject:message-id :date:from:in-reply-to:references:mime-version:sender:dkim-signature; bh=8Rw97QQykDcmQ8NkTCRtLj0eOUdwb+/W1R+Gn7cfEDU=; b=PA0xQ5SGn8tl6/41dMnGBeR1qXeORlSe2ICocmZL1XX2SlLFIcJx1UYiYSwwzQ0kUR +59Hqj4F+i9Uezio72T/IHBlJU2fWlG7KjKHF++4MBQEut7vs9YeaKQPGHiOMcocQ3CP aP7YByal5xb35EwzF4RtpFNS7sGENEipBL4swcAmsbme/2u7t/TYpnXdIRbdiuzpcFaK /NTyUp3VMDv9M3tNjcZCJ6aQ1EWyuDbSLBiclKWZ65G81rhE71td6i0bGsEl0p5iygvh g0/xqLJHNh33bHBGS71Z7Zjg5puiwuAXY7cu14nKUKq1zzEZassJJ6O3dyKeDpv5gFoF EYEQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@broadband-forum-org.20150623.gappssmtp.com header.s=20150623 header.b=ylB2K7LM; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::536 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:cc:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=8Rw97QQykDcmQ8NkTCRtLj0eOUdwb+/W1R+Gn7cfEDU=; b=dQ5TV/4mxFvQg+uV6HuJ69mVvqL9vRfFqC1u1iOG14+KaKmNtDFS3cbtEj44S68er8 m3MK06tg4hQarTaON6Nzo1osNduS9cQv7D0ZYYSylYAypY9fnDqUBtwbbWLijAh2QXTf DkqTQeSby6RRAZoIlmuJMU6oFKwSH5p4xxZRvC3MmWZRyaRI0AklGdIDbsiDDveTYtBy DVOoZ2KMaRFGqhafHDS0ULCyFDGjbHXMVhuWAk/IGwjbqI6zQ+68isDHgIN2LiEteUyd aEq4YqlprS7Ejc1i+wa2KlmgCMHoJFj1ns0cAh4XtxAQuXxbCWKh2inTbkt6HWRQTbCB RFpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:cc: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 :list-subscribe:list-unsubscribe; bh=8Rw97QQykDcmQ8NkTCRtLj0eOUdwb+/W1R+Gn7cfEDU=; b=cFYAMzXXFEPt97icCiXjD+Q3IDXdn6IuBJk75MRjfjESX2yNpRylfTsUp2LMQUL+Nx NKxcva5coVEHh7hffMJ9jsmlwrZq8yykwGxDBkNuddjILwf4Y4KovPtFfooAGm4eqzGm locaJdOjxcz65YQPMK35dVcgaMcCo/A0aCG/p+axiQJ7eK84QIIByagHK97e+Bv7Fek1 h+3W3+Fs5knvrtiHNFEgGQvNaufjjTX6VtrDIp5pmLHhJK9Di7M5MyBmnt0P1BoV+yaA lIUwApwVwZL+LtACSHu7lIhn95/G/unCmSMlKFXzIk8R/mAVitmukuygeSiI7sU/U48W hCAg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533xa5ZlBJDeBKPXSUrjru65cNGWUcrhnrXkRaX70eS1asZ8l8jM pdI/OBHqD4Ja6RZRzh8I21g= X-Google-Smtp-Source: ABdhPJxzDaUEcUvaDgTpU2SEHIYcI69f+2Hj71EVJYUJcycVu0bNbQkYXr4m+Zyqdusxw12qSr7atw== X-Received: by 2002:a19:7f10:: with SMTP id a16mr26089263lfd.238.1622707861948; Thu, 03 Jun 2021 01:11:01 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:591:: with SMTP id 139ls558108ljf.5.gmail; Thu, 03 Jun 2021 01:10:59 -0700 (PDT) X-Received: by 2002:a2e:b0cc:: with SMTP id g12mr5446123ljl.122.1622707859090; Thu, 03 Jun 2021 01:10:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622707859; cv=none; d=google.com; s=arc-20160816; b=Lr7p05hH8RuXLVb5uKXhT4Sm+ePh+u4zvUsZ44FuiRYVoGazU2lDFag8VHoFVm7FEg RDWOucfThMtGGQp3vBUFjhzhaM6bIaZeYQdhpAztHo31E4aHJtjkdBl6QfWjcqaqV4gG vegneFEQFQSHm/nsgzXbEYeJjx6Y8wnRDtluVC3BbMbOL0+I+FkrxU9LHGTI8IGx+5bM iNpPc9L4eou8d3jCvZ37mk13mIV/MakwonN35DsrBGOTq6gzMHO2Ej50awd6elIbQung 2Tq6CD+QMo54HMMW3b8I6NX8dwSD+Xxrmx8vdNWlAlVEF89lGvkqw4wWP1oAhGRrzS7t zCpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=Z+yZqj3QXHAy6GpiYbhuKctNj/Foj4v1lZq4zYAiQcU=; b=L1/9l5vCva+5SK/KQ94DzLth993DJwKtZ/rQkFbaR1UrLB0YRMGem5zpkpuMiT3Q/1 Vs2YzaH5Yg/xs/PZUW7uJmhwVR167G+hoL/ibaAueqVLXMD5K+AHgJ9l6JTET6BClPsa nv6AS01EUgBQKrMcqIBtKHqI85hVNdPyFC9kdOwd5KqtEFXXmuQqwRrzlBT38JaBvL4r Jpgs+vHzQ7vb14rhaWMlL+0Q9MzO0mUsdjwotlu33k0r/mme/9DvnfWPK9uyI4Vsr+lP GGJntOkmqVyrnfP9iR0+HBSKo6iKwSY8DxTvemgHIHojB670RM6Ti2CkTM/iz0Jeu6bD QFIw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@broadband-forum-org.20150623.gappssmtp.com header.s=20150623 header.b=ylB2K7LM; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::536 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org Original-Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com. [2a00:1450:4864:20::536]) by gmr-mx.google.com with ESMTPS id c6si61516ljf.3.2021.06.03.01.10.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Jun 2021 01:10:58 -0700 (PDT) Received-SPF: pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::536 as permitted sender) client-ip=2a00:1450:4864:20::536; Original-Received: by mail-ed1-x536.google.com with SMTP id g18so4066320edq.8 for ; Thu, 03 Jun 2021 01:10:58 -0700 (PDT) X-Received: by 2002:a05:6402:31ba:: with SMTP id dj26mr4254995edb.71.1622707858275; Thu, 03 Jun 2021 01:10:58 -0700 (PDT) In-Reply-To: X-Original-Sender: wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@broadband-forum-org.20150623.gappssmtp.com header.s=20150623 header.b=ylB2K7LM; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::536 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@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-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:28528 Archived-At: --00000000000077925505c3d81d52 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks! On Thu, 3 Jun 2021 at 05:49, John MacFarlane wrote: > > These are good suggestions. I've revised the manual accordingly. > > BPJ writes: > > > Perhaps it should be pointed out that the body of YAML block scalars mu= st > > be indented relative to the line with the `|` or `>`. Not doing so is > > indeed a YAML syntax error, so Pandoc does the right thing when not > > considering it valid YAML, however unfortunate it is that Pandoc may > think > > it is something else. > > > > The overview of YAML syntax on Wikipedia is quite good. Perhaps the > manual > > could link to (some specific version of) it. > > > > https://en.m.wikipedia.org/wiki/YAML#Syntax > > > > Den ons 2 juni 2021 21:21John MacFarlane skrev: > > > >> > >> The problem is that basically anything is valid Markdown, > >> it's just a matter of how it is interpreted. It does seem > >> to me that in the second case we might want to at least emit > >> a warning -- if not downright fail. It's just so unlikely > >> that someone would write a block beginning with `---` > >> and ending with `...` and intend it to be something other > >> than YAML metadata. If you'd like, you could submit an > >> issue for this. I'd rather not suggest avoiding complex > >> YAML blocks -- sometimes they're fine, if the syntax is > >> correct! > >> > >> William Lupton writes: > >> > >> > Thanks. Yes, I guess I realised it had something to do with ambiguou= s > >> > grammars, but I hadn't really considered that my input was a valid > table > >> > (mea culpa). > >> > > >> > So I thought aha! I'll change the terminating "---" to "..." (in the > hope > >> > of an error), but this of course gives the output shown below. > >> > > >> > I wonder whether there could be a warning in the manual (or maybe > there > >> is > >> > and I've missed it?) and/or perhaps a suggestion that it might be a > good > >> > idea to avoid complex YAML metadata blocks (in favour of metadata > files)? > >> > I'd be happy to create an issue and/or a MANUAL.md pull request. > >> > > >> > % cat bad.md > >> > --- > >> > history: > >> > - number: Release 1.2 > >> > changes: | > >> > - TBD > >> > ... > >> > > >> > % pandoc bad.md > >> >
> >> >

history: - number: Release 1.2 changes: | - TBD =E2=80=A6

> >> > > >> > > >> > On Wed, 2 Jun 2021 at 17:47, John MacFarlane > wrote: > >> > > >> >> > >> >> Well, this actually IS a valid "simple table". So how is > >> >> pandoc to know that you intended it as a YAML metadata block? > >> >> Pandoc tries first to parse things as YAML blocks, and then as > >> >> tables, if either works, the parse succeeds with no error. > >> >> > >> >> William Lupton writes: > >> >> > >> >> > Should I expect syntax errors in YAML blocks to be detected and > >> reported? > >> >> > > >> >> > This has a syntax error in the YAML block: > >> >> > > >> >> > % cat bad.md > >> >> > --- > >> >> > history: > >> >> > - number: Release 1.2 > >> >> > changes: | > >> >> > - TBD > >> >> > --- > >> >> > > >> >> > This fixes it: > >> >> > > >> >> > % diff bad.md good.md > >> >> > 5c5 > >> >> > < - TBD > >> >> > --- > >> >> >> - TBD > >> >> > > >> >> > The latest pandoc: > >> >> > > >> >> > % ~/Downloads/pandoc-2.14.0.1/bin/pandoc -v > >> >> > pandoc 2.14.0.1 > >> >> > ... > >> >> > > >> >> > Pandoc thinks the bad YAML is a table: > >> >> > > >> >> > % ~/Downloads/pandoc-2.14.0.1/bin/pandoc bad.md > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > > >> >> >
history:
- number: Release 1.2
changes: |
- TBD
> >> >> > > >> >> > But it's OK with the good YAML: > >> >> > > >> >> > % ~/Downloads/pandoc-2.14.0.1/bin/pandoc good.md > >> >> > > >> >> > Parsing the file as YAML reports the error: > >> >> > > >> >> > % ~/Downloads/pandoc-2.14.0.1/bin/pandoc --metadata-file bad.md > >> >> > Error at "bad.md" (line 5, column 0): > >> >> > Unexpected ' ' > >> >> > > >> >> > % ~/Downloads/pandoc-2.14.0.1/bin/pandoc --metadata-file good.md > >> >> > ^C > >> >> > > >> >> > -- > >> >> > You received this message because you are subscribed to the Googl= e > >> >> 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 view this discussion on the web visit > >> >> > >> > https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxjF3Un2J-xg5UOs7uR= eZ5cO27TATA%2BfDY%2BAtghAsVhShA%40mail.gmail.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >> To view this discussion on the web visit > >> > https://groups.google.com/d/msgid/pandoc-discuss/m2a6o8ul91.fsf%40johnmac= farlane.net > >> . > >> > > > > -- > > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhC2g4z_H%2BK%2BVtG= oVd1T2nmYeMuRrnUquhDPpoYfuxSwWw%40mail.gmail.com > . > --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/CAEe_xxgTz6jLbWSK1t6Ln_xgr%3DLDk9XUDbomQH6nWvvTRQVC3g%40mail= .gmail.com. --00000000000077925505c3d81d52 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks!=C2=A0

On Thu, 3 Jun 2021 at 05:49, John MacFarl= ane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> wrote:=

These are good suggestions.=C2=A0 I've revised the manual accordingly.<= br>
BPJ <melroch@gmai= l.com> writes:

> Perhaps it should be pointed out that the body of YAML block scalars m= ust
> be indented relative to the line with the `|` or `>`. Not doing so = is
> indeed a YAML syntax error, so Pandoc does the right thing when not > considering it valid YAML, however unfortunate it is that Pandoc may t= hink
> it is something else.
>
> The overview of YAML syntax on Wikipedia is quite good. Perhaps the ma= nual
> could link to (some specific version of) it.
>
> https://en.m.wikipedia.org/wiki/YAML#Syntax
>
> Den ons 2 juni 2021 21:21John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> skrev:
>
>>
>> The problem is that basically anything is valid Markdown,
>> it's just a matter of how it is interpreted.=C2=A0 It does see= m
>> to me that in the second case we might want to at least emit
>> a warning -- if not downright fail.=C2=A0 It's just so unlikel= y
>> that someone would write a block beginning with `---`
>> and ending with `...` and intend it to be something other
>> than YAML metadata.=C2=A0 If you'd like, you could submit an >> issue for this.=C2=A0 I'd rather not suggest avoiding complex<= br> >> YAML blocks -- sometimes they're fine, if the syntax is
>> correct!
>>
>> William Lupton <wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org> writes:
>>
>> > Thanks. Yes, I guess I realised it had something to do with a= mbiguous
>> > grammars, but I hadn't really considered that my input wa= s a valid table
>> > (mea culpa).
>> >
>> > So I thought aha! I'll change the terminating "---&q= uot; to "..." (in the hope
>> > of an error), but this of course gives the output shown below= .
>> >
>> > I wonder whether there could be a warning in the manual (or m= aybe there
>> is
>> > and I've missed it?) and/or perhaps a suggestion that it = might be a good
>> > idea to avoid complex YAML metadata blocks (in favour of meta= data files)?
>> > I'd be happy to create an issue and/or a MANUAL.md pull r= equest.
>> >
>> > % cat bad.md
>> > ---
>> > history:
>> > - number: Release 1.2
>> >=C2=A0 =C2=A0changes: |
>> >=C2=A0 =C2=A0- TBD
>> > ...
>> >
>> > % pandoc bad.md
>> > <hr />
>> > <p>history: - number: Release 1.2 changes: | - TBD =E2= =80=A6</p>
>> >
>> >
>> > On Wed, 2 Jun 2021 at 17:47, John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> wrote: >> >
>> >>
>> >> Well, this actually IS a valid "simple table".= =C2=A0 So how is
>> >> pandoc to know that you intended it as a YAML metadata bl= ock?
>> >> Pandoc tries first to parse things as YAML blocks, and th= en as
>> >> tables, if either works, the parse succeeds with no error= .
>> >>
>> >> William Lupton <wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org> writes:
>> >>
>> >> > Should I expect syntax errors in YAML blocks to be d= etected and
>> reported?
>> >> >
>> >> > This has a syntax error in the YAML block:
>> >> >
>> >> > % cat bad.md
>> >> > ---
>> >> > history:
>> >> > - number: Release 1.2
>> >> >=C2=A0 =C2=A0changes: |
>> >> >=C2=A0 =C2=A0- TBD
>> >> > ---
>> >> >
>> >> > This fixes it:
>> >> >
>> >> > % diff bad.md good.md
>> >> > 5c5
>> >> > <=C2=A0 =C2=A0- TBD
>> >> > ---
>> >> >>=C2=A0 =C2=A0 =C2=A0- TBD
>> >> >
>> >> > The latest pandoc:
>> >> >
>> >> > % ~/Downloads/pandoc-2.14.0.1/bin/pandoc -v
>> >> > pandoc 2.14.0.1
>> >> > ...
>> >> >
>> >> > Pandoc thinks the bad YAML is a table:
>> >> >
>> >> > % ~/Downloads/pandoc-2.14.0.1/bin/pandoc bad.md
>> >> > <table>
>> >> > <tbody>
>> >> > <tr class=3D"odd">
>> >> > <td>history:</td>
>> >> > </tr>
>> >> > <tr class=3D"even">
>> >> > <td>- number: Release 1.2</td>
>> >> > </tr>
>> >> > <tr class=3D"odd">
>> >> > <td>changes: |</td>
>> >> > </tr>
>> >> > <tr class=3D"even">
>> >> > <td>- TBD</td>
>> >> > </tr>
>> >> > </tbody>
>> >> > </table>
>> >> >
>> >> > But it's OK with the good YAML:
>> >> >
>> >> > % ~/Downloads/pandoc-2.14.0.1/bin/pandoc good.md
>> >> >
>> >> > Parsing the file as YAML reports the error:
>> >> >
>> >> > % ~/Downloads/pandoc-2.14.0.1/bin/pandoc --metadata-= file bad.md
>> >> > Error at "bad.md" (line 5, column 0):
>> >> > Unexpected ' '
>> >> >
>> >> > % ~/Downloads/pandoc-2.14.0.1/bin/pandoc --metadata-= file good.md
>> >> > ^C
>> >> >
>> >> > --
>> >> > You received this message because you are subscribed= to the Google
>> >> Groups "pandoc-discuss" group.
>> >> > To unsubscribe from this group and stop receiving em= ails from it, send
>> >> an email to pandoc-discuss+unsubscribe@googlegrou= ps.com.
>> >> > To view this discussion on the web visit
>> >>
>> https://groups.google.com/d/msgid/pandoc-disc= uss/CAEe_xxjF3Un2J-xg5UOs7uReZ5cO27TATA%2BfDY%2BAtghAsVhShA%40mail.gmail.co= m
>> >> .
>> >>
>>
>> --
>> 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.<= br> >> To view this discussion on the web visit
>> https:/= /groups.google.com/d/msgid/pandoc-discuss/m2a6o8ul91.fsf%40johnmacfarlane.n= et
>> .
>>
>
> --
> You received this message because you are subscribed to the Google Gro= ups "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/CADAJKhC2g4z_H%2BK%2BVtGoVd1T2nmYe= MuRrnUquhDPpoYfuxSwWw%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://group= s.google.com/d/msgid/pandoc-discuss/CAEe_xxgTz6jLbWSK1t6Ln_xgr%3DLDk9XUDbom= QH6nWvvTRQVC3g%40mail.gmail.com.
--00000000000077925505c3d81d52--