Skip to content

Support formatting #456

Open
Open
@remcohaszing

Description

@remcohaszing

Initial checklist

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

  1. We could make it configurable. We could also do this later
  2. We could close this issue and not support formatting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions