Code highlight

If you want to enable code highlight, you can use rehype-highlight or @mapbox/rehype-prism plugin.

Modify src/lib/orgToHtml.js and add your plugin of choice after org2rehype, modify styles to include your theme (see Styling). uniorg-rehype attaches all necessary language-{name} classes, so you don't have to worry about this bit.

Backlinks