Closed cokemine closed 4 years ago
Hi @CokeMine ,
in case you need special selectors you have to add a custom EnlighterJS init code to your page and disable the default one.
btw. did you've tried the crayon compatibility mode ? it converts everything on the fly
@AndiDittrich Hi, The compatibility mode works well.Thank you!
Hello, Since I used "Crayon Syntax Highlighter" as my Highlighting plugin which is no longer support, I changed it to Enlighter. Here are my settings CSS block selector:
pre.EnlighterJSRAW, pre[class*="lang:"][class~="decode:true"]
CSS inline selector:code.EnlighterJSRAW, span[class*="lang:"][class~="decode:true"][class~="crayon-inline"]
It works very well in version 3.11,but when it updates it to 4.2,It has a problem. So I found this: In the Ver3.11 In the Ver4.2 I think """ are replaced to """ in HTML so that JS can not work right. I would really appreciate it if you can give me a solution. Thank you.