Closed blackPeppper closed 1 year ago
There's a setting to tell code hike to ignore some languages, that should solve your problem.
There may be other issues, I think @JaKXz has Docusaurus + Code Hike + Mermaid working.
Yeah, I found that mdx-v2 and remark-mermaid don't play nice atm, so I published @jakxz/mdx-mermaid
to make it work.
@blackPeppper your mileage may vary / proceed at your own risk, etc. :)
@JaKXz should that work with codehike also right ?
Yes I am using it with codehike.
after some work i did thanks guys
@JaKXz I'm also using Docusaurus with Code Hike, but have been unable to get around the require() of ES Module not supported
error when importing mermaid
into my docusaurus.config.js
(const mermaid = require("@jakxz/mdx-mermaid");
). Is there a babel config that I need to add to get this to work?
codehike makes mermaid not work
![image](https://user-images.githubusercontent.com/93441520/201195279-35866363-60ae-4dbe-acc5-4514fa716002.png)
docusaurus