-
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
👍 phase/yesPost is accepted and can be worked onPost is accepted and can be worked on👶 semver/patchThis is a backwards-compatible fixThis is a backwards-compatible fix🗄 area/interfaceThis affects the public interfaceThis affects the public interface🙆 yes/confirmedThis is confirmed and ready to be worked onThis is confirmed and ready to be worked on🦋 type/enhancementThis is great to haveThis is great to have
Description
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)
Problem
There’s no proper formatting solution yet for MDX. Prettier support is a work in progress (prettier/prettier#12209, prettier/prettier#13676). The remark CLI and language server don’t properly support MDX yet (mdx-js/mdx#2378, remarkjs/vscode-remark#129, unifiedjs/unified-engine#56).
Solution
The MDX language server can support formatting for MDX based on remark programmatically. This would be opiniated unconfigurable formatting.
Alternatives
- We could make it configurable. We could also do this later
- We could close this issue and not support formatting.
quadratz and jayalfredprufrock
Metadata
Metadata
Assignees
Labels
👍 phase/yesPost is accepted and can be worked onPost is accepted and can be worked on👶 semver/patchThis is a backwards-compatible fixThis is a backwards-compatible fix🗄 area/interfaceThis affects the public interfaceThis affects the public interface🙆 yes/confirmedThis is confirmed and ready to be worked onThis is confirmed and ready to be worked on🦋 type/enhancementThis is great to haveThis is great to have