Repository navigation
Add .mdx extension support - #3438
Merged
Merged
Conversation
|
Would be nice to get a reviewer here. This is pretty important for developers using React and MDX |
Jocs
approved these changes
Aug 3, 2023
|
@Jocs the latest build has this feature? |
Member
|
@AdrianoCahete I have not release the new version with this feature yet. |
|
I am currently using https://markdoc.dev/ its trying to achive the same effect as mdx but with much better performance and flexability basic example: This is shown no matter what. {% if $myFunVar %} also you can do what mdx dose but with better experince for authors and devolopers by seperating your code from your content while also providing small components that the authors can use |
|
Please make support for mdx file |
thimbleberrysystems
pushed a commit
to thimbleberrysystems/WordBird
that referenced
this pull request
Jun 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Make it possible to open
.mdxfiles which are Markdown files with the possibility of adding JavaScript (JSX) code. MDX is already very widespread and is still gaining a lot of popularity.The main effect this change has is that it displays files with the
.mdxending in the sidebar and allows them to be opened.As the files are basically Markdown files, they are already displayed correctly. Any JSX inside of the files also already looks good and doesn't need any special treatment:
Saving works perfectly fine.
This PR conflicts with and closes #3424 that was opened recently. It adds the
MDXextension to a couple more places in the source code / docs.