Addons are custom features that you can add to your Vanilla forum. Addons are created by our community of developers and people like you!
These addons are for people who downloaded and set up their own Vanilla forum. Compare your downloaded version with the version requirements on the right.
If your Vanilla forum is hosted at VanillaForums.com, this addon may already be installed there.
UnsureThe community has said nothing.
In the last version 1.2 , I added the jquery that was required in the master, to the plugin. It now works automatically when you add the < pre > Tag.
Remember to refresh the page to see the formatted code.
About the code and pre tags
< code >A piece of computer code< /code > Definition and Usage The < code > tag is a phrase tag. It defines a piece of computer code. The < code > tag also supports the Global Attributes in HTML. The < code > tag also supports the Event Attributes in HTML. < pre > Text in a pre element is displayed in a fixed-width font, and it preserves both spaces and line breaks < /pre > Definition and Usage The < pre > tag defines preformatted text. Text in a < pre > element is displayed in a fixed-width font (usually Courier), and it preserves both spaces and line breaks. Use the < pre > element when displaying text with unusual formatting, or some sort of computer code.
Tested on Vanilla 184.108.40.206 and 2.1 using cleditor editor and ButtonBar
version 1.3 changed the code a bit because it had suddenly stopped working