- Convert all the tabs in the program to spaces. While this step is optional, I suggest this since there would be no unwanted surprises with tabs in the final document. If you are using a good editor such as vim, this takes less than a minute.
- Go to "Edit Html" tab when editing the post
- Put your code inside
<pre class="verbatim" xml:space="preserve">...
</pre>
tags. That's it.
Malayamarutham is a mellifluous raaga in carnatic music which will make one soft at heart. In telugu, malaya maarutham is a cool evening breeze which invigorates mind, body & heart.
Feedback, suggestions, criticisms, typos, mistakes, errors etc., (no matter how small you think they are) on the articles of this blog are very welcome. They can be directed to kamaraju at gmail dot com.
Sunday, April 08, 2007
copy paste code into blogger
The difference between pasting some random text and pasting source code is that, it is necessary to preserve the formatting (indentations etc.,) when pasting the source code. If you would like to list some program inside the articles posted via blogger, then you can do the following:
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2007
(38)
-
▼
April
(8)
- gnuplot with GNU readline and history support
- calculate md5sums in windows
- recipe for building texmacs package with pdebuild
- recipe for building texmacs package with pbuilder
- executing octave scripts
- insert page numbers in a texmacs document
- copy paste code into blogger
- Google groups feature suggestions - 1
-
▼
April
(8)
1 comment:
I'm glad I learnt something for visiting in here! n btw... thanks for the comment u left on my blog. :)
Post a Comment