Crayon Theme Editor
The Theme Editor allows you to duplicate and modify custom themes compatible with Crayon using an integrated user interface and no CSS knowledge whatsoever. Of course, make changes to your theme by editing the CSS is also possible before and after using the theme editor.
You can access the theme editor in Wordpress admin under Settings > Crayon:
The Theme section displays the information about the current theme, a toolbar for performing theme editor actions and the Live Preview. Modifying any settings automatically refreshes this preview before submitting the settings page.
Theme Types
Crayon stores the Stock Themes which come with the plugin under this path:wp-content/plugins/crayon-syntax-highlighter/themes
To allow modifying these themes and preserving changes, Crayon stores User Themes under this path:
wp-content/uploads/crayon-syntax-highlighter/themes
This avoids any changes being overwritten during updates to the plugin. Stock themes can’t be deleted or modified for this reason - unless you enable CRAYON_DEBUG
in globals.php
. Of course, modifying the theme CSS is independent of the Theme Editor, but keep in mind that your changes will be lost when updating the plugin.