Difference between revisions of "Talk:LSL Editing Primer"

From Second Life Wiki
Jump to navigation Jump to search
(New page: == Code Tag? == What's the suggested tag for code examples? I tried <nowiki> <lsl></lsl> but it doesn't seem to work so I've been using <pre></pre></nowiki> but it's not great. --~~~~)
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Code Tag? ==
== Code Tag? ==
What's the suggested tag for code examples? I tried <nowiki> <lsl></lsl> but it doesn't seem to work so I've been using <pre></pre></nowiki> but it's not great. --[[User:Ralph Doctorow|Ralph Doctorow]] 20:42, 26 September 2007 (PDT)
What's the suggested tag for code examples? I tried <nowiki> <lsl></lsl> but it doesn't seem to work so I've been using <pre></pre></nowiki> but it's not great. --[[User:Ralph Doctorow|Ralph Doctorow]] 20:42, 26 September 2007 (PDT)
Well, <nowiki><pre></pre></nowiki> is the common tag for code. For very short code samples you can use <nowiki><code></code></nowiki>.
What are you missing? Code highlighting? It's not available yet, AFAIK.<br/>
--[[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. --[[User:Ralph Doctorow|Ralph Doctorow]] 08:07, 27 September 2007 (PDT)

Latest revision as of 08:07, 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. --Ralph Doctorow 08:07, 27 September 2007 (PDT)