Showing posts with label format. Show all posts
Showing posts with label format. Show all posts

Thursday, July 3, 2008

Format source code for blogging

Taken from here. Applicable only for the first 25 lines of codes.
Alternative reference: http://codeformatter.blogspot.sg/


Tab size: 2 4 8
Embed Stylesheet:

Copy the HTML below to your clipboard. Insert the HTML of your blog or wiki.


This is an example of what your text will look like.
    • Tabs are converted to spaces.
    • Quotes and other special characters are converted to HTML.
    • Everything is enclose in HTML's 'pre' and 'code' tags.
    • Style is set:
        • Fixed width font.
        • Shaded box.
        • Dotted line border.