


The above code could easily be taken to mean the following: Some initial paragraph in markdown.

I’m not entirely sure, if adding this feature to codemirror might be overkill, since it might possibly conflict with some other markdown dialects. Thus, the following is also a valid frontmatter in pandoc-markdown: Some initial paragraph in markdown. Pandoc also allows frontmatters to be included anywhere in the document. isn’t valid YAML anyway and would therefore not occur in frontmatters that don’t use this pandoc-markdown feature. I believe that just allowing to close frontmatters with. Unfortunately, using abricotine (an editor based on CodeMirror), the above code is interpreted as a document containing only a frontmatter. syntax for closing frontmatters, so they don’t mistake the last line for a heading. Some markdown editors don’t include any frontmatter support (such as ghostwriter, for instance). Thus, the following is a valid frontmatter for pandoc:. Pandoc allows frontmatters to be closed with either - or. Here’s a quick description of what I am missing in CodeMirror’s YAML-frontmatter support. I would be willing take this to github (feature request, maybe eventually a pull request), if you guys like the ideas. I thought I’d first ask in the forums to see how my suggestions are received. It would therefore be great to see improved support for pandoc’s YAML-frontmatters in CodeMirror. One of these is abricotine, which is based on CodeMirror. I am also using a variety of text editors to edit these files. I am using quite a lot of pandoc-markdown including it’s YAML-frontmatters.
