Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The name of the text file is used for the document title and the main header.
- The contents of the text file is processed this way:
- - Each line is encoded as a paragraph and separated by an empty line.
- - An empty line is encoded as an additional empty line.
- - Use [br] to insert a line break in a paragraph.
- - Use [br clear="all"] to cancel right/left alignment of previous element.
- - Use [hr] to insert an horizontal rule.
- - Use word1[nbsp]word2 to keep two words together.
- Special tags borrowed from: http://en.wikipedia.org/wiki/Main_Page
- - ==Header of chapter==
- - ===Header of section into chapter===
- - ====Header of subsection into section====, etc... (up to 6 equal signs)
- Special tags borrowed from: http://www.dostips.com/forum/viewforum.php?f=3
- - [b]Bold text[/b]
- - [i]Italic text[/i]
- - [u]Underlined text[/u]
- - [color="colorValue"]Color text[/color]
- - [img]http://image_url[/img]
- - [url=http://link_url]Description[/url]
- - [list]Description or [list=T]Description (T = 1 a A i I)
- [*]Item one
- [*]Item two, etc...
- [/list]
- - [code]
- Multi-line program code
- [/code]
- Additional modifiers and tags:
- - =Header of Table of Contents=
- - ==Header of subdivision==|Title in table of contents
- - = (close the table of contents)
- - [s]Striked text[/s]
- - [tt]TeleType text[/tt]
- - [small]Small text[/small]
- - [big]Big text[/big]
- - [sub]Subscript text[/sub]
- - [sup]Superscript text[/sup]
- - [q]Quoted text[/q]
- - [kbd]Keyboard text[/kbd] (not HTML standard)
- - [color="#color" size="#size" face="font list"]Text[/color]
- - [style="property=value;..."]Text[/style]
- - [list=T] (T = 0 g G d c s " " H C|L|R|B:pad:margin:margin2)
- - [code]Code segment in-line[/code]
- - [url="Text"?target:Url]option:Description|Title[/url]
- - [img modifiers]image1|image2|...[url=addr1]Desc1[/url][url=addr2]Desc2[/url]...[/img]
- - [select][url=addr1]Desc1[/url][url=addr2]Desc2[/url]...[/select]
- - [table=includeFile tableMod;headerMod;dataMod;col1Mod|col2Mod...]Description
- |Header1|Header2|...
- Cell 1-1|Cell 1-2|...
- Cell 2-1|Cell 2-2|[cellMod]Cell 2-3..., etc...
- [/table]
- - [code:includeFile style:value; ...]Description
- Multi-line program code
- [/code]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement