Talk:LSL Editing Primer: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Answering code tag question
No edit summary
Line 6: Line 6:
What are you missing? Code highlighting? It's not available yet, AFAIK.<br/>
What are you missing? Code highlighting? It's not available yet, AFAIK.<br/>
--[[User:Huney Jewell|Huney Jewell]] 03:04, 27 September 2007 (PDT)
--[[User:Huney Jewell|Huney Jewell]] 03:04, 27 September 2007 (PDT)
With <nowiki><pre></pre></nowiki> the font is too small and you can't put links into the code and it would be nice to have code all tagged the same way so it could be automatically reformatted. <nowiki><code></code></nowiki> doesn't keep line breaks and also has a small point size.
----

Revision as of 08:06, 27 September 2007

Code Tag?

What's the suggested tag for code examples? I tried <lsl></lsl> but it doesn't seem to work so I've been using <pre></pre> but it's not great. --Ralph Doctorow 20:42, 26 September 2007 (PDT)

Well, <pre></pre> is the common tag for code. For very short code samples you can use <code></code>.

What are you missing? Code highlighting? It's not available yet, AFAIK.
--Huney Jewell 03:04, 27 September 2007 (PDT)

With <pre></pre> the font is too small and you can't put links into the code and it would be nice to have code all tagged the same way so it could be automatically reformatted. <code></code> doesn't keep line breaks and also has a small point size.