Hey just thought I’d see if anyone had any lightweight gems or js packages for WYSIWYG code highlighting that are easy to implement in rails 8 with importmaps?
I have a text area that is a form field where a user can type in some code and I just want some super basic syntax highlighting.
I was using the ace editor for it but having some difficulty with adding it using importmaps instead of webpacker. Would love some suggestions for either getting that to work or something similar please, thanks!