My favorites | Sign in
Project Home Downloads Issues Source
Project Information
Members
Featured
Downloads
Links

Description

This is a simple addon for the opensource project: pygments.

Pygments is a syntax highlighter written in python.

Pygments supports a lot of programming/scripting languages... but it still doesn't support LSL yet. Therefore I decided to code it myself.

I thought it would be useful to all SecondLife citizens.

All honest opinion are welcome!


Example

from pygments import highlight
import LSLLexer
from pygments.formatters import HtmlFormatter

highlight(lsl_code, LSLLexer(), HtmlFormatter(linenos=True))

ScreenShot

Powered by Google Project Hosting