Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

windows-linebreaks are considerer non-emptly lines #436

Open
tripodsan opened this issue Aug 5, 2019 · 2 comments
Open

windows-linebreaks are considerer non-emptly lines #436

tripodsan opened this issue Aug 5, 2019 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@tripodsan
Copy link
Contributor

having a markdown with \r\n linebreaks, messup the parser:

# Hello\r\n
\r\n
---\r\n
\r\n
# foo\r\n
\r\n

gives error:

Error: Found ambigous frontmatter fence: No empty line before the block! Make sure your frontmatter blocks contain no empty lines and your horizontal rules have an empty line before AND after them.
@tripodsan tripodsan added bug Something isn't working good first issue Good for newcomers labels Aug 5, 2019
@trieloff
Copy link
Contributor

trieloff commented Aug 7, 2019

That's probably best fixed in https://github.com/remarkjs/remark-frontmatter

@trieloff
Copy link
Contributor

trieloff commented Sep 6, 2019

I'm mistaken. Since @koraa's refactoring, we don't use remark-frontmatter anymore.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants