Blogger Source Code Formatter

By Cui Mingda Last update Jan 20, 2009 — Installed 246 times. Daily Installs: 0, 1, 4, 0, 1, 0, 1, 0, 2, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 8, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Script Summary:
Format source code in HTML edit mode.
Recently Updated TopicsPosts
Clarification 1

this script has 1 topic, 1 post

Review Summary
5 stars
0 reviews (0)
4 stars
0 reviews (0)
3 stars
1 reviews (1)
2 stars
0 reviews (0)
1 star
0 reviews (0)

this script has 1 review

Add a button in HTML Edit Mode. When you click the button, wrap selected text with the following code:

You need to modify the following CSS Styles and add them into your Blogger template.


pre.source-code {
    font-family       : Andale Mono, Lucida Console, Monaco, fixed, monospace;
    color             : #000;
    background-color  : #eee;
    font-size         : 12px;
    border            : 1px dashed #999999;
    line-height       : 14px;
    padding           : 5px;
    overflow          : auto;
    width             : 100%;
    text-indent       : 0px;
}

Statistics