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

Can't separate slides #66

Closed
Fatpandac opened this issue Jun 30, 2021 · 5 comments
Closed

Can't separate slides #66

Fatpandac opened this issue Jun 30, 2021 · 5 comments

Comments

@Fatpandac
Copy link

image

OS:Windows 10

The source is from example‘s slides.md.

@Fatpandac
Copy link
Author

I try on my Raspberrypi by Linux it's fine. Why it runs errors in Windows?

@maaslalani
Copy link
Owner

Ah this is probably due to windows line endings since the separator looks for \n---\n but windows has different line endings I think

@maaslalani
Copy link
Owner

https://github.com/maaslalani/slides/blob/main/internal/model/model.go

The delimiter should also take into account windows line endings

@Fatpandac
Copy link
Author

Yet, it's fine when I change CRLF to LF. Thx.

@maaslalani
Copy link
Owner

Please feel free to open another issue for Windows support 🙂 we can probably make it so that the delimiter (when built on Windows is different) so everything should work out of the box.

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

2 participants