Didn’t see a way to add issues to the lang-yaml repo, so posting here.
When adding the yamlFrontmatter to a markdown editor, the folding for the markdown breaks. You can see how the heading foldings are broken below.
Without yamlFrontmatter (the headings can fold whats under them):
With yamlFrontmatter (the foldings are not there)
Code:
const frontMatter = yamlFrontmatter( { content: markdown() } )
const extensions = [
basicSetup,
frontMatter,
// markdown(), // frontMatter has it included
EditorView.lineWrapping,
];

