Styling Code Blocks with PrismJs

Hi all,

What I’m trying to do

I was wondering how to change the colour scheme of the syntax highlighter, prismjs. I was able to figure out for the read view, by adding the css code provided on the official website either to the snippets or by creating a new theme but for the edit view I am a bit puzzled.

Would be nice to use the same theme for both read and edit for a consistent feel.

Thanks,
Nubian

It uses a different library - not PrismJS - for the edit view.

You can have a search around the forum or someone might chime in with the other library name.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.