Preparing this post I created simple syntax highlighter using prismjs http://prismjs.com/. Please find below some instructions how to use it.
Steps:
Steps:
- Copy code to 'Source code' text field
- Select language
- Select theme
- Check 'Include style' checkbox. If you have already added some highlighted code to you blog page, you might uncheck 'Include style' checkbox to prevent css-styles duplication on your page.
- Click 'Transform' button
- Copy and paste generated code to your blog page.
Source code
Highlighted code