Hi there! I saw your message about building a theme component from a fork of HighlightJS. I am hoping to do something similar for the Modular forum to add syntax highlighting for Mojo and I was wondering if you might be able to share any instructions or point me in the right direction? Thanks so much! ![]()
לייק 1
Hey @CarolineFrasca, here is a theme-component wrapping your work and ready to use on Discourse. You can fork it, or use as it is.
It will look like this currently:
The install instructions are the same as every theme component
- Install it under admin > customize
- Add it to your main theme
- Add “mojo” to the site setting
Highlighted languages.
5 לייקים
או הוי, תודה רבה לך!! אני באמת, באמת מעריך את זה! מדהים.
3 לייקים
