How to prevent capturing of old pre tags
-
Before I installed Crayon Syntax Highlighter, I was using inline styling for my syntax highlighting (a bad solution, I know). I am excited to use Crayon from now on, it looks really cool. However, Crayon has now captured the
<pre>
tags from all of my old posts and thus now displays the inline HTML instead of the R or Python code itself. I would like a way to make Crayon NOT capture the<pre>
tags on these old posts. I read the documentation https://github.com/aramk/crayon-syntax-highlighter/blob/master/readme.md#disable-highlighting which says to puthighlight: 0;
orcrayon: false;
in the CSS. I tried to do this in the WordPress CSS editor, but WordPress does not recognizehighlight
orcrayon
as valid CSS properties, and so it removes them from the CSS when I click save. Any suggestions?
- The topic ‘How to prevent capturing of old pre tags’ is closed to new replies.