Codehikes remark plugin converts any code block found in an mdx file. Using code blocks in combination with a library called mermaid allows you to generate e.g. sequence diagrams. When the codehike remark plugin takes all, another plugin, this time using rehype, does not have a chance to catch the original code blocks in raw format because the remark plugin has converted them already.
A nice feature would be a way to tell codehike which languages to skip for processing. The following example shows how it can be done using className, which represents a language.
Codehikes remark plugin converts any code block found in an mdx file. Using code blocks in combination with a library called mermaid allows you to generate e.g. sequence diagrams. When the codehike remark plugin takes all, another plugin, this time using rehype, does not have a chance to catch the original code blocks in raw format because the remark plugin has converted them already.
A nice feature would be a way to tell codehike which languages to skip for processing. The following example shows how it can be done using className, which represents a language.
Thx!