Thursday, December 15, 2011
Shortcut to apply SyntaxHighlighter in Blogger for Java code
This is a shortcut post to enable syntax highlighting of your Java code examples in Blogger.
First, open the HTML template under "Design". Locate the <head> section, then add the following:
Then, in your posts, just enclose <pre class="brush: java">...</pre> tags around your code snippets.
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment