Sublime Forum

Markdown & YAML Headers (MarkdownPreview)

#1

Hello All,

I’m using ST2 on OSX, Windows & Linux. I’m currently trying to get my markdown previews to display correctly in chrome. I’m using the following plugins:

  • MarkdownPreview
  • LiveReload

I have the syntax of the markdown file set to Markdown (though MultiMarkdown is also an option and has the same issues).

Issue #1: In the markdown file in ST2, The first line: ‘—’ which starts the yaml header is highlighted in blue. Any idea why this is or how to fix it?
Issue #2: When the file is opened in chrome, the header is visible, and not parsed correctly. HR tags are written for the ‘—’ lines and the YAML elements are just dumped into a paragraph. I’d like to hide the YAML headers if possible. Thanks!

0 Likes