Code highlighting

wiki.secondlife.com

If you're creating pages on this wiki that include external code examples (like LSL or HTML), it's highly useful to enclose the code between tags that retain formatting and other desirable attributes, like colorized syntax.

Tags

These tags are actively being used.

For more tags, see the Parser extension tags on Special:Version. Some tags are possible because of GeSHiHighlight.

Examples

These pages use code highlighting tags extensively.

community.secondlife.com

When creating a post, from the editing toolbar, click , then paste in your script.

Users of Firefox (with Greasemonkey installed) and Google Chrome can install LSL posting tool for community.secondlife.com created by Cerise to get LSL highlighting on the forums. This is especially useful in the Scripting and Scripting Library forums where LSL scripts are shared.

To use the highlighter, paste in your script with the button as usual, then press the + LSL button to highlight. Use - LSL if you want to remove the highlights.