Skip to content

Treat .mdx files as markdown #5510

@eliandoran

Description

@eliandoran

Discussed in https://github.com/orgs/TriliumNext/discussions/1216

Originally posted by maphew February 18, 2025
I have a wordpress site I'm going to migrate to Trilium. https://github.com/Swizec/wordpress-to-markdown seems to be a 'good enough' tool - it took <10 minutes from reading Readme to my first result. The file format it writes is unusual to me: .mdx, anyone here have any experience with it?

https://mdxjs.com/ - MDX lets you use JSX in your markdown content. You can import components, such as interactive charts or alerts, and embed them within your content.

I've inspected a handful of the files it's created and so far they're all just regular markdown. If I find something weirder I'll post an example, but I'll probably just rename them all to .md and import to Trilium as is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions