Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document with literal --- or single horizontal rule at top is mangled #189

Open
gregdan3 opened this issue Sep 17, 2023 · 0 comments
Open

Comments

@gregdan3
Copy link

Bug

If a document with --- at the top is provided, an extra --- will be written to the document because the leading --- is detected as a frontmatter.

Reproducer

---

Example!

Expected Result

---

Example!

Actual Result

---
Example!
---

Trailing newlines intended; see #180

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant