code-hike / codehike

Marvellous code walkthroughs
https://codehike.org
MIT License
4.39k stars 135 forks source link

Mark and link annotation doesn't work in vite + react #417

Open aromko opened 2 months ago

aromko commented 2 months ago

Trying to set up this example with vite + react https://github.com/code-hike/not-stripe. I got errors when using mark oder link [plugin:@mdx-js/rollup] function Mark(props) { if (props.isInline) { return React__default["default"].createElement(Inlin...... } could not be cloned.

[plugin:@mdx-js/rollup] function CodeLink({ children, isInline, style, data, }) { const url = (data === null || data === void 0 ? ...... } could not be cloned.

Only focus seems properly to work.