Adding code snippets to a blog postIf you own or manage a blog where you oftenAdd code snippets in poststhis trick will entertain you you can add code snippets in posts using this simple css script which we align all of your code in lines and your codes will look great in posts see here i Use this script in post where iadd a code snippetof C# program to Convert lower case letter to upper case.
Here is css script which might be useful to all readers, This is not forsyntax highlighting but works well for presenting the source code in original format.
<<<<<<>>>>>>
How to use :Paste the above snippet in text editor.
Paste your code in <<<<<<>>>>>> block.
Copy all and paste to HTML view in blogger(or any other) post editor.
0 comments:
Post a Comment