-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Windows: CRLF line endings cause "Invalid frontmatter format" build error #99
Comments
thanks for reporting, I don't have windows to test it, let's wait for a PR |
It looks like the problem is with serving + watching. Can you try building without those options?
Does that render the site correctly? You can open the site directly in the browser to test. |
Even when just compiling the site (using
(The custom.css/js errors can be ignored, as I've tested a slightly bigger blog with them and they seem to work fine.) I think the error is from a library -- I see it coming from |
PR opened sebastienrousseau/frontmatter-gen#1 |
Oh, I went to test this case, but it look like the issue is with the frontmatter-gen library....So, is this problem fixed? @rochacbruno |
@scovl my PR is merged on sebastienrousseau/frontmatter-gen#1 now it is pending a new release of that crate. |
I followed the instructions to install Marmite and start making a blog on Windows. When serving this project with
marmite --serve --watch myblog site
in Windows, and editing a file in Visual Studio using its default line endings:The following error appears:
(All my test files used CRLF line endings, but the error only affected the ones with metadata.)
I can fix this within VS Code by switching the file's line endings from CR+LF to just LF, but this issue might need a fix or a note in the documentation for Windows users.
The text was updated successfully, but these errors were encountered: