Saturday, March 9, 2013

Its raining ...

A test for the syntax highlighter:
I followed the advices at Geek Talkin Siebel: Embed Code Syntax Highlighting in Blog. Thus I copied the the source code into this blog's template HTML code. After putting it in the compose mode the source was not formated. After adding the source code directly into the HTML edit mode, the source code was properly highlighted. Unfortunately the whole source is not visible in the "Compose" mode.
It is however not straightforward to cascade the code in order to show the source of the above embedded code. With the <pre> it was however possible:

And the above with:

The above code was generated with another <pre> node.

No comments:

Post a Comment