Add Syntax Highlighter in AnsPress

By default AnsPress sanitize and preserve code in question and answer, but code button and syntax highlighter is not there by default. To get this enabled you have to follow below steps.

  1. Install Crayon Syntax Highlighter plugin and activate it. Go to
  2. Find Decode HTML entities in code and check checkbox.
  3. Find Display the Tag Editor in any TinyMCE instances on the frontend (e.g. bbPress) check checkbox.
  4. Find Display Tag Editor settings on the frontend uncheck checkbox.
  5. And finally save the option.

After completing above steps you can see code button in ask and answer form. Let us know if need more help


  1. I don’t know why but it is not working now.

  2. its not working for me also . am using Firebug theme . please advice


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment