Skip to content
Grav 2.0 is officially stable. Read the announcement →
Plugins

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

Started by Tatiana Perry 7 years ago · 0 replies · 525 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 Vladimir Novak, 2 weeks ago
3 295 2 weeks ago
Plugins · by Mathieu Lecouturier, 3 weeks ago
3 277 3 weeks ago
Plugins · by Slebeig, 2 months ago
1 403 2 months ago
Plugins · by Rene, 2 months ago
2 574 2 months ago
Plugins · by Xavier, 3 months ago
2 490 3 months ago