-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for the .mdx format #7158
Comments
Proper .mdx support would be good, but for now you could use a custom formatter: https://decapcms.org/docs/custom-formatters |
hi collections:
- name: docs
label: Documentations
label_singular: 'Documentation'
folder: docs
extension: "mdx"
format: "frontmatter" It's functional. Could you tell me more about the custom formatter? I'm not quite sure what it will bring to me. Maybe just for the preview? How do I create one for the .mdx format? it's this code with gray-matter for exemple :
|
? |
One of the issues I'm running into is moving between the markdown editor and rich-text editor, MDX content gets escaped. It seems related to this issue , whereby the character For example:
Becomes:
Otherwise, using the |
I'm using DecapCMS with Docusaurus, and like many other applications, Docusaurus utilizes .mdx files. I really wish that DecapCMS could support .mdx extensions.
The text was updated successfully, but these errors were encountered: