Skip to content

Issue: Astro section and YAML parser issue #528

Description

@estruyf

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions