Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

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

Started by Tatiana Perry 7 years ago · 0 replies · 558 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 complanar, 2 weeks ago
2 255 4 days ago
Plugins · by Vladimir Novak, 1 month ago
3 595 1 month ago
Plugins · by Mathieu Lecouturier, 2 months ago
3 417 2 months ago
Plugins · by Slebeig, 2 months ago
1 530 2 months ago
Plugins · by Rene, 3 months ago
2 732 3 months ago