Writing Code
If you want to publish some code or scripting with this you have to use a pre-box. The “pre” stands for preserve as it preserves spacing so your code can be staggered for easier viewing.
Code Blocks
Make a pre-box like this:
<pre> Enter your code here, being sure to convert all characters into their character-entity counterparts. </pre>
This will produce a code block like that shown above. If you’re confused by what I mean by “character-entity counterparts,” this resource should help.
Note: If you are posting a single line of code in a pre-box, I suggest you create a space after the pre tag and before the code, and a space after the code and before the closing pre tag.
In-Line Code
If you want to write small bits of inline code you can use “code” tags, like this (serving as the how-to and as an example): <code>this is some in-line code</code>.