Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information