guest3456 wrote:Re: codeboxes
I think I actually prefer [ codebox] formatting over [ code]
You aren't supposed to be able to use the codebox tag, but I forgot to remove it. (I have done now.) It is the default tag used by the CodeBox Plus extension. I had to heavily modify the extension to get the old code tags to work.
I will fix the styling. At the moment it uses inline styles defined by CodeBox Plus (modified by me) instead of the styles defined for
.codebox in the forum stylesheet.
The font-family: monospace for [ code ] is using Consolas font and i believe size 13px. But 13px is too large imo and should be 11px or 12px
It's defined by the browser or the user. On my system (IE, Chrome and Firefox), there is hardly any difference in size between the two code boxes.
when using the post "Preview" feature, it seems the forum gets confused or outright doesn't display code or codeboxes properly
Message previews and posting require different handling. I modified posting to process the 'code' bbcode instead of 'codebox', but the previews worked by replacing the HTML produced by the built-in bbcode processing (and I didn't change that part). I had thought CodeBox Plus didn't handle code boxes in previews/topic review (i.e. adding highlighting and links), but realize now that it does.