Crayon Syntax Highlighter
After the need to share code with my users I found the plugin Crayon Syntax Highlighter. By default WordPress provides the pre tag to display pre-formatted text but I find that the Crayon Syntax Highlighter makes it much easier to read on the website.
The following is a sample of the Crayon Syntax Highlighter in action:
1 2 3 |
<?php echo('hello'); ?> |
You can find the plugin in the WordPress repository here.
Recent Comments