One Hickup Gone
Yes, I’m completely rewriting this post. No, I have no guilt over doing so.
Figured out how to get a working <code> replacement tag, given that the code tag doesn’t handle newlines nicely and doesn’t color the background the way I want. I added the following to wp-content/themes/default/style.css:
pre.code {
margin: 15px 10px 0px 10px;
padding-left: 10px;
font-family: monospace;
font-size: medium;
background-color: rgb(255, 230, 230);
}
Now whenever I want to add a code block I surround the content like this:
<pre class="code"> my code </pre>
Angle brackets still have to be replaced with their respective entities (as I found typing the above example), and when in a markup tag (between angle brackets) quotation marks must be replaced with entities too:
< > "
Coolness!