You can always use four asterisks, which should unmistakably be an horizontal rule. **** /bpj -- Better --help|less than helpless Den sön 1 nov. 2020 22:00Albert Krewinkel skrev: > > Pranesh Prakash writes: > > > Dear all, > > This e-mail is prompted by troubles my text editor had been having with > > understanding Pandoc syntax regarding `---`. I then realized I didn't > know > > the precise rules myself. > > > > I'd like to know how Pandoc distinguishes between `---` as a horizontal > > rule, as a table row demarcator for simple_tables, or as a YAML metadata > > block delimiter. > > There is even a fourth possibility: as part of a setext header: > > fun > --- > > Pandoc uses the following order, trying the next only if the > previous failed: YAML block, header, table, hrule. So basically, all > other alternative take precedence, and treating it as a horizontal > rule is the last resort. > > What might be missing from the docs is that the `---` line may not > be followed by a blank line when demarking a YAML block. > > Does that answer your question? > > -- > Albert Krewinkel > GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 > > -- > 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/87eelclrnh.fsf%40zeitkraut.de > . > -- 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/CADAJKhBVUELH6EzGMh-riZXSOrXLQi-n%2BrMe4iLy8%3DC5fGSBng%40mail.gmail.com.