- Download syntaxhighlighter from syntaxhighlighter
- Unzip the file and place the Scripts and Styles directories in a URL (location in my sample)
- Modify your blogger template adding those lines just after the </div></div> <!-- end outer-wrapper –>
- To publish a post with code snippet, insert your code inside the <pre> or <textarea> tags
<textarea name="code" class="c#" cols="60" rows="10">
... some code here ...
</textarea>
- More information and configuration is available on the syntaxhighlighter web site.
No comments:
Post a Comment