Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Prism.js on quark theme rendering as div and not code

Started by Tatiana Perry 7 years ago · 0 replies · 584 views
7 years ago

For some reason, the prism.js code highlighter plugin does not work on the Quark base theme. It is rendering a <div> and not a code or pre block. I installed the same plugin on the learn2 theme and it renders correctly. I can not figure out why Quark changes this to a div while learn2 uses the code tag as it should.

I have tried toggling this setting in the plugin:
all-pre-blocks: false

Suggested topics

Topic Participants Replies Views Activity
Plugins · by renedebaaij, 7 hours ago
0 12 7 hours ago
Plugins · by complanar, 2 weeks ago
6 379 2 weeks ago
Plugins · by BenLaKnet, 2 weeks ago
1 196 2 weeks ago
Plugins · by complanar, 1 month ago
2 472 4 weeks ago
Plugins · by Vladimir Novak, 2 months ago
3 750 2 months ago