You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I've seen, the gray-matter library is the de facto standard for parsing frontmatter in markdown files. It parses YAML by default, and YAML is by far the most common syntax I see for frontmatter.
It would be great if dprint-plugin-markdown would format the frontmatter block following the syntax from gray-matter.
I have installed dprint-plugin-markdown and g-plane/pretty_yaml. Given the following input:
---
- some yaml frontmatter
- this is nested too deep---```yaml
- a yaml code block
- this is nested too deep```
The output I get after formatting is:
---
- some yaml frontmatter
- this is nested too deep---```yaml
- a yaml code block
- this is nested too deep```
This is what I want to happen:
---
- some yaml frontmatter
- this is nested too deep---```yaml
- a yaml code block
- this is nested too deep```
The text was updated successfully, but these errors were encountered:
From what I've seen, the gray-matter library is the de facto standard for parsing frontmatter in markdown files. It parses YAML by default, and YAML is by far the most common syntax I see for frontmatter.
It would be great if dprint-plugin-markdown would format the frontmatter block following the syntax from gray-matter.
I have installed dprint-plugin-markdown and g-plane/pretty_yaml. Given the following input:
The output I get after formatting is:
This is what I want to happen:
The text was updated successfully, but these errors were encountered: