Lessons learned:
T. J. Frazier wrote:
I've been looking for some "when-to" guidance on the tags <tt>, <code>,
and <source>. I'll be glad to add it to the "Styles" page, /if/ the
following is the right thing to say.
Page:
http://wiki.services.openoffice.org/wiki/Documentation/Dashboard/Styles
Format: turn the "Code" table entry into three entries:
Code in running text | The <tt>Select Case</tt> statement...
Short code examples | [as "Code" at present; how many leading spaces?
Leading tab? We want to mention thing like that, for uniformity.]
Long code examples | (The <code>...</code> tags are deprecated.) <source
lang=oobas>[three lines, TBS]</source> [Line breaks inside the table
cell should be fun :-) ]
I'll try to find a link to something on MediaWiki, about <source>,
unless we have something somewhere.
(1) Thanks to Nino and Clayton for the links. They really belong in a footnote on the
Styles page, and I'll add one, when I feel up to tackling that syntax.
(2) Line breaks within a column were more fun than I had thought. Had to use <br> tags
liberally in the center column of the last row (long code example).
@ Clayton: I tried the page on MW's sandbox -- presumably, against their
latest-and-greatest version -- with (works) and without (messes up) the <br> tags. It's
not recognizing line breaks. Can we complain to them about that?
(3) GeSHi seems to need its tables tweaked for lang="oobas". It doesn't highlight Option
or Explicit. Initially, I forgot the quotes around "oobas", but they seem to be optional.
--
T. J. Frazier
Melbourne, FL
(TJFrazier on OO.o)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]