Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Crayon inline code not converted

$
0
0

Replies: 2

Hi,

For years I have used Crayon Syntax Highlighter for my WordPress website. I recently switched to Enlighter when I started using Gutenberg for the new posts.

I would like to use Englither for the previous posts, so I have enabled the compatibility options (Compatibility mode: enabled, the_content: enabled, the_excerpt: enabled, Crayon: enabled, all other options off). This seems to be working fine on all pieces of code, except the inline ones.

If I disable Crayon, the inline code is visualised as normal text. I looked at the HTML code previously created by Crayon, and I can see that the inline code looks something like this:

<span class=”lang:c# decode:true crayon-inline”>xxx</span>

which is not recognised by Enlighter.

Is there any way to ensure that Enlighter will render the inline code generated by Crayon? I cannot disable Crayon until this is resolved, as I have hundreds of articles with thousands of pieces of inline code that would otherwise render as text!

Any suggestion would be really appreciated!


Viewing all articles
Browse latest Browse all 59525

Trending Articles