Difference between revisions of "User talk:Reynard Baroque"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 2: Line 2:


(from [https://wiki.secondlife.com/wiki/User_talk:Rand_Linden#.3Clsl.3E..._.3C.2Flsl.3E])
(from [https://wiki.secondlife.com/wiki/User_talk:Rand_Linden#.3Clsl.3E..._.3C.2Flsl.3E])
== <nowiki><lsl>... </lsl></nowiki> ==
How does the '''<nowiki><lsl>... </lsl></nowiki>''' tag work so that variable types, functions, constants, etc get highlighted when used to mark off code? I'm hoping to do something similar in another wiki about LSL. Thank you for any help you can provide. [[User:Reynard_Baroque|<span style="background:red;">&nbsp;&nbsp;</span><span style="color:red"> <b>&yen;</b> </span><span style="background:red;">&nbsp;&nbsp;</span><span style="color:gold;background:navy;">&nbsp;<b>Reynard</b>&nbsp;</span>]] 18:52, 24 January 2012 (PST)
: It use [http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi GeSHi] with an LSL lang file like [[User:Thraxis_Epsilon/lsl_syntax|this]].
: ~ [[User:Kuraiko Yoshikawa|Kuraiko Yoshikawa]] 19:25, 24 January 2012 (PST)
:: Thanks, Kuraiko--correct.  In general, that's known as a tag extension: http://www.mediawiki.org/wiki/Manual:Tag_extensions
::--[[User:Rand Linden|Rand Linden]] 08:58, 25 January 2012 (PST)

Latest revision as of 16:50, 7 April 2012

Please post your questions and comments here!

(from [1])

<lsl>... </lsl>

How does the <lsl>... </lsl> tag work so that variable types, functions, constants, etc get highlighted when used to mark off code? I'm hoping to do something similar in another wiki about LSL. Thank you for any help you can provide.    ¥    Reynard  18:52, 24 January 2012 (PST)

It use GeSHi with an LSL lang file like this.
~ Kuraiko Yoshikawa 19:25, 24 January 2012 (PST)
Thanks, Kuraiko--correct. In general, that's known as a tag extension: http://www.mediawiki.org/wiki/Manual:Tag_extensions
--Rand Linden 08:58, 25 January 2012 (PST)