• The VOIDRUNNER'S CODEX is coming! Explore new worlds, fight oppressive empires, fend off fearsome aliens, and wield deadly psionics with this comprehensive boxed set expansion for 5E and A5E!

The Code tag

Staffan

Legend
First, a test to see how things look in HTML format.
Code:
This text is supposed to be monospaced
Code:
[COLOR=skyblue]This text is supposed to be monospaced and sky blue.[/COLOR]
Test over.
 
Last edited:

log in or register to remove this ad

Staffan

Legend
Test 2:
<pre>This text just uses regular HTML code for monospaced text.</pre>
Test 3:
<pre><font size="+0">This text just regular HTML code for monospaced text and font size="+0".</font></pre>

OK, now I understand why the monospace tag works badly. It converts to the following HTML code (using {} instead of <>)
{/font}{blockquote}{pre}{font face="verdana,arial,helvetica" size="1" color="#ffffcc"}code:{/font}{hr}

Would it be possible to just make the code tag insert the HTML {pre}-tag instead? Possibly with a {font size="+0"} as well - otherwise, it seems, the text becomes very small. I think that would serve most people who use monospace text on these forums, where it's mostly used to write tables rather than programming code.
 

Remove ads

Top