go-term-markdown icon indicating copy to clipboard operation
go-term-markdown copied to clipboard

Ignore yaml frontmatters

Open afranke opened this issue 5 years ago • 3 comments

Pandoc gives the ability to put metadata blocks which are really handy. mdr chokes on them and the result is very meh. It would be nice if they could be ignored (or used for something). Hiding this behind an option would be fine.

afranke avatar Jan 23 '20 15:01 afranke

Heh, why not. It seems we need a cleanup step anyway regarding https://github.com/MichaelMure/go-term-markdown/issues/1

MichaelMure avatar Jan 23 '20 17:01 MichaelMure

Quick note to mention that yaml frontmatters aren’t actually Pandoc specific. Hugo, Jekyll, and probably others use them. Some editors like Zettlr can detect them and take them into account.

afranke avatar Jul 16 '20 06:07 afranke

RMarkdown and gollum are a couple more examples :)

khughitt avatar Jul 18 '20 21:07 khughitt