Skip to content

New parser & remark-frontmatter #538

Answered by wooorm
mrzmmr asked this question in Q&A
Discussion options

You must be logged in to vote

This indeed changed. Frontmatter still works, but must start on the first line:

-let md = `
----
+let md = `---
 title: test
 ---

 # Test
 `

  • Frontmatter must now start on the first line
    Previously, delaying with blank lines first worked.
    That behavior does not match how GitHub parses YAML, and is thus removed.
    source

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by wooorm
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants