- The 'Quote' option in the 'new Post' editor just indents the text block; one possibility is to change the font for the selected text block to e.g. Courier, a fixed width font, but of course there is no syntax highlighting.
There are some other solutions i found in the internet:
- SyntaxHighlighter. Looks good,
but needs an additional webserver.
Found it here in this blog: Fresh Espresso: Code Listings on Blogger
edit: Author hosts it. Howto can be found here: Adding a Syntax Highlighter to your Blogger blog - http://gist.github.com/. Easy. Paste code, copy link and done. Found that one here: Tips for software engineer: Syntax Highlighting on Blogger - Gist
Below a simple shellscript example with http://gist.github.com/. Just copy&paste your code there, get the 'embed code', paste into the blogger/blogspot html-editor, done.
This is a test comment by myself.. (selected Anonymous in drop-down-box.)
ReplyDelete