Showing posts with label test. Show all posts
Showing posts with label test. Show all posts

Sunday, May 29, 2011

Tests with code and syntax highlighting.

Hello, this is my first blog entry and i'm just testing how to add code.
  • 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:

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.
[EndOfFirstBlogEntry] - Woohoooo.