Code in nanoblogger entries
I just spent WAY to long figuring out how to format my last
post. Here are some hints regarding how to format code blocks in
nanoblogger entries when you are using the markdown plugin.
- Inline code can be encapsulated in back-ticks
- Blocks of code should be placed in <pre> </pre>
tags, NOT <code></code> tags.
- IF there are no spaces, a block of code can be inserted by
indenting each line. But if you've got a blank line, markdown will
try to insert paragraph tags in side and tidy will balk.