Skip to content

(post mvp) add mdx syntax support for comment parsing #2795

@FroyaTheHen

Description

@FroyaTheHen

Research how the mdx syntax can be properly supported. Comment parsing for mdx would probably not work with pulldown_cmark. In that case, what is needed would be either: a separate interpreter for mdx syntax + a way for the comment parser to recognise which md/mdx syntax is used, or (imo better alternative but might be more time-consuming if on house solution) one that would support both without a need to distinct between mdx/md.

Note: consider throwing away the event parsing logic and see if that can work properly for all cases.

See possible solution: https://github.com/wooorm/markdown-rs?tab=readme-ov-file#extensions

ensure the new solution is compatible with the md, as this may change doc formatting for already existing packages

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions