NiKKi /Doc /Macros /OutlineTable

Top
Up
Contents
RecentChanges
Attachment
Backlinks
Print
Show Page
ViewSource
Login
User:38.103.63.18
(anonymous)
3014 hits since Fri Jun 7 23:24:22 2002
This macro renders outline text into a table. For example,
<OutlineTable( 
How to use OutineTable? 
* Basics 
** Outline item 
*** Outline item is specified by r'^\*+ '. Number of * specifies 
the level.  
** Rendering 
*** Outline structure will be converted into horizontal table rows. 
*** Outline item which has multiple sub items will have appropriate 
rowspans. 
 
* Advanced? 
** You can use wiki markups. 
*** ''italics'' 
*** '''bold''' 
*** ----- 
*** FrontPage 
** First line without * will be converted into caption. 
 
* Subtle points 
** Editing 
*** You need space between *'s and beggining of sentences. 
*** You need paren ( and ) 
*** No space after OutlineTable( . 
** Skipping a level will insert blank cell. See below. 
 
* Skip Example  
*** blah,blah,blah 
 
)> 

will be rendered into :

How to use OutineTable ??
Basics Outline item Outline item is specified by r'^\*+ '. Number of * specifies the level.
Rendering Outline structure will be converted into horizontal table rows.
Outline item which has multiple sub items will have appropriate rowspans.
Advanced? You can use wiki markups. italics
bold

FrontPage ?
First line without * will be converted into caption.  
Subtle points Editing You need space between *'s and beggining of sentences.
You need paren ( and )
No space after OutlineTable( .
Skipping a level will insert blank cell. See below.  
Skip Example  blah,blah,blah

I believe the essence of wiki markup is in the ease of writing rather than emulating the rendered results by text. In that sense I don't like the idea of using something like the following as the table markup as in structuredText: it's really time consuming to make one of these.

+-----------------------------------+ 
|  Header 1 | Header 2 | Header 3   | 
+-----------------------------------+ 
| I can't possibly make another row | 
+-----------------------------------+