uiwjs / react-codemirror

CodeMirror 6 component for React. @codemirror https://uiwjs.github.io/react-codemirror/
https://uiwjs.github.io/react-codemirror/
MIT License
1.63k stars 130 forks source link

Question:: Using Multiplex with CodeMirror 6 #315

Open dcoales opened 2 years ago

dcoales commented 2 years ago

Hi,

I am currently using react-codemirror2 which is quite old and uses CodeMirror 5. With codemirror5 you can use multiplex.js to embed one language in another e.g. javascript inside HTML or XML.

Does anyone have any examples of doing the same thing with react-codemirror v4 which uses codemirror 6 not codemirror 5.

Many thanks, David

achang97 commented 1 year ago

@dcoales were you able to figure this out? Looking to implement the same functionality

dcoales commented 1 year ago

Sadly not.

jaywcjlove commented 1 year ago

This is not easy to achieve. No way was found.