Tuesday, March 9, 2010

The EASIEST Way to Display Code in Your Blog Posts

I've tried several different ways to do this, as you can see HERE and HERE. I've been able to get both ways to work sometimes, but not all the time. It bugs the heck out of me!

I finally found a way to do it at BlogPandit. It seems to work really well.

  1. Get your code ready. I like to use Wordpad or TextEdit to type the code. It's cleaner than Word and doesn't try to do things to the quote marks.

  2. Go to Blogcrowds and paste your code into the box. Click the Parse button. Copy the code.

  3. Go to you blog post and paste the code in. Then highlight the code text and click the Blockquote button (the one that looks like quote marks).

  4. You can play around with your blockquote code in your html template, if you know how.
Here's a link to how it displays.

More on tweaking the blockquote code in the future. Just wanted to get the basic details here before I forgot how I did it.


---------
©Karlene Browning, Karlene's Cheat Sheet.