You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Correctly detect frontmatter to avoid mangling document
The previous format would incorrectly capture:
- A single horizontal rule at the top of the file
- Three literal dashes with arbitrary content after them.
This was detected as a frontmatter, and an extra HR would be inserted after as a result.
The new format requires that there are two sets of triple dashes on their own lines, where the first is the first text in the document.
0 commit comments