Skip to content

When using MdxComponents HTMLPreElement block strips classnames to only include 1 string. #2551

Answered by ChristianMurphy
konyogony asked this question in Q&A
Discussion options

You must be logged in to vote

Welcome @konyogony! 👋
Correct code meta does not do anything in mdx by default.
The can be configured by plugins, it sounds specifically like you want something along the lines of https://github.com/remcohaszing/rehype-mdx-code-props

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@konyogony
Comment options

@wooorm
Comment options

Answer selected by konyogony
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants