Hey!
I´m new to CMv6 and need to integrate syntax highlighting for solidity. In the older versions I could simple import a package (in my case made by Marijn Haverbeke, import it by using
import 'codemirror/mode/solidity/solidity.js';
and then pass it to the options prop as the “mode” property.
Now it seems to be a bit different and I have no idea how to integrate it to codemirror:
There is this other public npm package right here:
But this also only seems to apply to the mode object… Any idea how I can integrate this?