Skip to content

How to use plain Markdown (CommonMark) in Docusaurus v2? #3009

Answered by slorber
borekb asked this question in General
Discussion options

You must be logged in to vote

Hi,

https://mdxjs.com/getting-started#markdown says MDX supports standard Markdown syntax

If you think features are missing in MDX, I think it's a bug to open on their repo, as clearly their intention is to support standard markdown.

Not sure they mention commonmark in their doc, but it's mentionned in the issues: https://github.com/mdx-js/mdx/search?q=CommonMark&type=Issues

As a side note, I was quite surprised to learn about this detail relatively deep in the docs (here).

Yes, the v2 is alpha, and the doc can still be improved a lot, don't hesitate to contribute and submit a PR.

Is there a way to swap the parser somehow?

Each plugin implements the MD-based system of its choice, that…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@slorber
Comment options

slorber Jun 30, 2020
Collaborator

@borekb
Comment options

@borekb
Comment options

@slorber
Comment options

slorber Jul 1, 2020
Collaborator

@borekb
Comment options

Answer selected by borekb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants