Skip to content

Revert "Add markdown support for .mdx files" - #2112

Open
remcohaszing wants to merge 1 commit into
github:masterfrom
remcohaszing:remove-mdx-rendering
Open

remcohaszing wants to merge 1 commit into
github:masterfrom
remcohaszing:remove-mdx-rendering

Conversation

@remcohaszing

Copy link
Copy Markdown

This reverts commit 0487341.

#1730 made GitHub render MDX files as markdown. Regular markdown renderers can’t render MDX content.

  • MDX content may be intented
  • MDX supports JSX content
  • MDX supports JavaScript ESM content
  • There are some smaller differences too

For example, look how horribly the MDX home page renders on GitHub: https://github.com/mdx-js/mdx/blob/main/docs/index.mdx

I appreciate GitHub having an MDX renderer. I would even love to provide some guidance. But rendering MDX files as markdown, is not a good solution. Especially if it’s the default view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant