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

Exception if the input starts with --- #604

Open
mfyodorov opened this issue Jan 20, 2025 · 0 comments
Open

Exception if the input starts with --- #604

mfyodorov opened this issue Jan 20, 2025 · 0 comments

Comments

@mfyodorov
Copy link
Contributor

mfyodorov commented Jan 20, 2025

Package version

No response

Node version

No response

Platform

No response

What steps will reproduce the bug?

Add --- to the beginning of the document.

What is the expected behavior?

The document is rendered, --- is displayed as a separator, like when you add \n before ---.

What do you see instead?

It throws a "YAMLException: end of the stream or a document separator is expected" exception, nothing is displayed.

Image

Additional information

No response

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