I may be blind, but I can't find one - I'm looking for something similar to <code></code> elements in HTML. Is this a feature?
1,678 views · 5 posts
I may be blind, but I can't find one - I'm looking for something similar to <code></code> elements in HTML. Is this a feature?
When I first joined I thought I saw a module for code or am I mistaken? It's not there now.
I think I remember one too... Curious... I wonder where it got to?
Simon took it out again a few months back, when Wizzley had its refurbishment. He did say why, but I've totally forgotten! I think it was woefully under-used though.
Does <code></code> not work?
Yes, the code module was removed some moons ago, because it was rarely used for its intended purpose and seemed to confuse some folks into thinking you could enter executable code snippets.
However, you can use the standard text module (switch to HTML view) and wrap your code with <pre></pre> tags. Special characters like < or > or non-breaking spaces must be encoded as HTML entities to show up properly.
Thank you both! Good to know neither me or lobobrandon were imagining things :)
Log in to reply to this topic.