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

Issue: Astro section and YAML parser issue #528

Closed
estruyf opened this issue Mar 8, 2023 · 0 comments
Closed

Issue: Astro section and YAML parser issue #528

estruyf opened this issue Mar 8, 2023 · 0 comments
Labels

Comments

@estruyf
Copy link
Owner

estruyf commented Mar 8, 2023

Related to thread on Discord: https://discord.com/channels/992409023607476224/1082992278341169202

If you edit a Markdown file, on the left side you have your Front Matter panel, and then switch to an Astro file via the file tabs, you get a YamlParserError error message.
I think that's because Astro is using the front matter section, the 3 minus signs --- ... ---, for itself to put Javascript there.
In the settings it says only md, mdx and markdown files should be considered, but this doesn't seem to work.

image

@estruyf estruyf added the bug Something isn't working label Mar 8, 2023
estruyf added a commit that referenced this issue Mar 19, 2023
@estruyf estruyf closed this as completed Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant