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

End head on first closing #4

Open
Bleuzen opened this issue Jul 6, 2020 · 0 comments
Open

End head on first closing #4

Bleuzen opened this issue Jul 6, 2020 · 0 comments

Comments

@Bleuzen
Copy link

Bleuzen commented Jul 6, 2020

Hi, currently this lib parses the head until the last '---' (delimiter). But it should use the first close tag (send delimiter) to end the head.

Example markdown file:

---
title: "An example title"
---

Some content here

---

This is the end

What happens is that is parses only "This is the end" as body and everything above as head. But this isn't correct.

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