Highlight code in wordpress
Install a plugin called Alex Gorbatchev’s SyntaxHighlighter which can search plugin “SyntaxHighlighter Evolved” and then active it. New a post and define “Shortcode Parameters” in [Text] tab. Example language base Some example shortcodes:
[ php ]your code here[ /php ]
[ css autolinks=”false” classname=”myclass” collapse=”false” firstline=”1″ gutter=”true”