Penguin
Blame: OldTextFormattingRules
EditPageHistoryDiffInfoLikePages
Annotated edit history of OldTextFormattingRules version 4, including all changes. View license author blame.
Rev Author # Line
1 AristotlePagaltzis 1 ! Synopsis
2 AristotlePagaltzis 2 OldTextFormattingRules%%%
1 AristotlePagaltzis 3 __Emphasis:__ '____' for ''italics'', _''''_ for __bold__, '____'_''''_ for ''__both__''%%%
4 __Lists:__ * for bullet lists, # for numbered lists, "; term : definition" for definition lists%%%
5 __References:__ !JoinCapitalizedWords or use square brackets for a [[page link] or URL [[!http://cool.wiki.int/].%%%
6 __Footnotes:__ Use [[1],[[2],[[3],...%%%
7 __Preventing linking__ Prefix with "!": !!DoNotHyperlink, name links like [[text | URL] (double up on the "[")%%%
8 __Misc__ "!", "!!", "!!!" make headings, "%%''''%" makes a linebreak, "-''''-''''-''''-" makes a horizontal rule
9
10 ----
11 ! Paragraphs
12
13 * Don't indent paragraphs
14 * Words wrap and fill as needed
15 * Use blank lines as separators
16 * Four or more minus signs make a horizontal rule
17 * %%''''% makes a linebreak (in headings and lists too)
18
19
20 ! Lists
21
22 * asterisk for first level
23 ** asterisk-asterisk for second level, etc.
24 * Use * for bullet lists, # for numbered lists (mix at will)
25 * semicolon-term-colon-definition for definition lists:
26 ;term here:definition here, as in the <DL><DT><DD> list
27 * One line for each item
28 * Other leading whitespace signals preformatted text, changes font.
29
30 ! Headings
31
32 * '!' at the start of a line makes a small heading
33 * '!!' at the start of a line makes a medium heading
34 * '!!!' at the start of a line makes a large heading
35
36 ! Fonts
37
38 * Indent with one or more spaces to use a monospace font:
39
40 This is in monospace
41 This is not
42
43 !Indented Paragraphs
44
45 * semicolon-colon -- works like <BLOCKQUOTE>
46
47 ;: this is an indented block of text
48
49 ! Emphasis
50
51 * Use doubled single-quotes ('____') for emphasis (usually ''italics'')
52 * Use doubled underscores (_''''_) for strong emphasis (usually __bold__)
53 * Mix them at will: __''bold italics''__
54 * ''Emphasis'' can be used ''multiple'' times within a line, but ''cannot'' cross line boundaries:
55
56 ''this
57 will not work''
58
59 ! References
60 * Hyperlinks to other pages within the Wiki are made by placing the page name in square brackets: [this is a page link] or UsingWikiWords (preferred)
4 AristotlePagaltzis 61 * Hyperlinks to external pages are done like this: [http://www.wcsb.org/]
1 AristotlePagaltzis 62 * You can name the links by providing a name, a bar (|) and then the hyperlink or pagename: [PhpWiki home page | http://phpwiki.sourceforge.net/] - [the front page | HomePage]
63 * You can suppress linking to old-style references and URIs by preceding the word with a '!', e.g. !NotLinkedAsWikiName, !http://not.linked.to/
64 * Also, the old way of linking URL's is still supported: precede URLs with "http:", "ftp:" or "mailto:" to create links automatically as in: http://c2.com/
65 * URLs ending with .png, .gif, or .jpg are inlined if in square brackets, by themselves: [http://phpwiki.sourceforge.net/alpha/themes/default/images/png.png]
66 * Using [[1] style you can create footnotes like this[1].
67
68 ! Tables
69
70 * Simple tables are available. A table row is introduced by a __|__ in the first column. It is best described by example:
71 || _''''_Name_''''_ |v _''''_Cost_''''_ |v _''''_Notes_''''_
72 | _''''_First_''''_ | _''''_Last_''''_
73 |> Jeff |< Dairiki |^ Cheap |< Not worth it
74 |> Marco |< Polo | Cheaper |< Not available
75 ;: will generate
76 || __Name__ |v __Cost__ |v __Notes__
77 | __First__ | __Last__
78 |> Jeff |< Dairiki |^ Cheap |< Not worth it
79 |> Marco |< Polo | Cheaper |< Not available
80
81 ;: Note that multiple __|__'s lead to spanned columns, and __v__'s can be used to span rows. A __>__ generates a right justified column, __<__ a left justified column and __^__ a centered column (which is the default.)
82
83
84 ! HTML Mark-Up Language
85
86 * Don't bother
87 * < and > are themselves
88 * The & characters will not work
89 * If you really must use HTML, your system administrator can enable this feature. Start each line with a bar (|). Note that this feature is disabled by default.
90
91 ! More detail than you want to know
92
93 See [MagicPhpWikiURLs] for gory details on how to write
94 various kind of wiki maintainance links.
95
96 -----
97
98 Footnotes:
99
100 [1] By using [[1] a second time (in the first column) the footnote itself is ''defined''. You may refer to a footnote as many times as you want, but you may only define it once on the page. Note the the [[1] in the footnote links back to the first reference, if there are multiple references there will be +'s after the [[1] which will link to the other references. (References which come ''after'' the footnote ''definition'' will not be linked to.)
101 ----
102 PhpWikiDocumentation