Support frontmatter
adueck opened this issue · comments
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
First of all thank you @remcohaszing so much for all your work on the language server. This morning I went out on a limb and searched to see if there was any work being done for TypeScript intellisense with mdx. I was so delighted to see you work on this. Thank you!
Problem
Adding frontmatter to an .mdx file
---
title: Hi, World!
---
# Hi, World!
throws the following extension error:
Request textDocument/foldingRange failed.
This keeps popping up while typing in VSCode.
Solution
It would be great if mdx frontmatter would be allowed, because it is a super common part of the markdown/mdx workflow.
I assume this would be taken care of with #295.
Alternatives
Not sure.
@ChristianMurphy Oh yes, sorry I should have read that in the documentation first. It workse!