public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Albert Krewinkel <albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Got this error on Linux' one
Date: Tue, 21 Jun 2022 15:21:07 +0200	[thread overview]
Message-ID: <87a6a6nmug.fsf@zeitkraut.de> (raw)
In-Reply-To: <CAEe_xxjEx9ttLuEmyb=0N7nJ8=o5T689krJVTgPFJQRPVTvnkw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>


William Lupton <wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org> writes:

> Perhaps there are some heuristics that control whether pandoc decides
> that a given block is YAML. Maybe lines like this one are being taken
> to be YAML?

The heuristic applied by pandoc is "if there's a line containing the
string `---`, and if that line is not followed by a blank line, and if
there's a closing `---` later in the text, then treat it as a YAML
block.

So adding a blank line after `---` should fix this as well.


-- 
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124


  parent reply	other threads:[~2022-06-21 13:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-21  9:27 almaghfuur lahu
     [not found] ` <6a390800-289b-4932-9d26-b6158f76aa11n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-06-21  9:37   ` William Lupton
     [not found]     ` <CAEe_xxje9j4rC3a9MtNSgeDocvStDsycapBS0y8GBo0Mo3qfDg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-06-21  9:55       ` almaghfuur lahu
     [not found]         ` <4ce1cfe9-8c01-4882-af2d-38ffacb7df3cn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-06-21 10:37           ` William Lupton
     [not found]             ` <CAEe_xxjEx9ttLuEmyb=0N7nJ8=o5T689krJVTgPFJQRPVTvnkw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-06-21 13:21               ` Albert Krewinkel [this message]
     [not found]                 ` <87a6a6nmug.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2022-06-21 15:02                   ` William Lupton
     [not found]                     ` <CAEe_xximH93ZyPmbVwPUVonnwTBgj1WB-2x2GMF_+bBefAW=EA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-06-21 23:43                       ` almaghfuur lahu
     [not found]                         ` <0c95c0e6-1558-468b-b224-278d99c31332n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-06-22  8:24                           ` William Lupton
     [not found]                             ` <CAEe_xxgjXZhV3XqOpstoPrsbsEiCidqG72Prx9SnL=C1tRAq7Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-06-22  8:50                               ` William Lupton
     [not found]                                 ` <CAEe_xxjFnjwXaRVdm41TOxQqg8C8xpFR+376pWaUFCuo5wBwLg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-06-22 10:54                                   ` almaghfuur lahu

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=87a6a6nmug.fsf@zeitkraut.de \
    --to=albert+pandoc-9eawchwdxg8hfhg+jk9f0w@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).