Wordpress Crayon Plugin dirty my code

31 Views Asked by At

I am using a plugin named Crayon to format my code in wordpress, however after I have changed config settings, I found the code in my post was dirtied!

It shows like this following: Code Dirtied

enter image description here

What can I do to repair it or what wrong config setting have I made?

I've tried to reset the config and it doesn't work.

  • Crypon Version: _2.7.2_beta - 25th April, 2015
  • Wordpress Version:WordPress 4.5.3

Thank you for helping

1

There are 1 best solutions below

1
Lee On

Stop using the plugin, because the square brackets in the shortcode are being interferred with by the square brackets in the output used within the shortcode.

Is there a reason why you can't style it using <pre> and CSS?