Ubuntu / Linux news and application reviews.

How to Post HTML / CSS / JavaScript (and other) Code As Plain Text In Blogger (blogspot.com) and make it with the click of a button. I recently discovered a great Greasemonkey script (so it only works with Firefox) called Blogger - HTML encode on post edit which adds a new button at the bottom of your new post area, which encodes the selected text so it can be posted as plain text in Blogger. It only works with www.blogger.com, not draft.blogger.com, but it's great.

Here is how it will look after installing Blogger - HTML encode on post edit:

blogger html encode

And how the code will look like, after being encoded:

html encoded text