]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/NewMarkupTestPage
Transform API cleanup.
[SourceForge/phpwiki.git] / pgsrc / NewMarkupTestPage
1 Date: Sun, 27 Jan 2002 17:28:55 -0500
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.2-jeffs-hacks)
3 X-Rcs-Id: $Id: NewMarkupTestPage,v 1.3 2002-02-08 03:01:12 dairiki Exp $
4 Content-Type: application/x-phpwiki;
5   pagename=NewMarkupTestPage;
6   author=JeffDairiki;
7   version=1;
8   flags="";
9   charset=iso-8859-1;
10   author_id=JeffDairiki;
11   markup=2.0
12 Content-Transfer-Encoding: binary
13
14 New lists: asterisks, hash marks, and ";text:def" (wrong...)
15 * bullet
16 * l1
17   * l2
18   * l2
19      * l3
20  # one
21  #two
22  #three
23 Term1:
24   definition1.1
25
26   defintion1.2
27 Term2 :
28     defintion2
29
30     Term3:
31       defintion3
32       Term4:
33           definition4
34
35           defintion4.2
36       Term5 :
37         defintion5
38
39 Mixed -
40  * ul1
41    # ul1-ol1
42    # ul1-ol2
43      * ul1-ol2-ul1
44      * ul1-ol2-ul2
45         * ul1-ol2-ul2-ul1
46         * ul1-ol2-ul2-ul2
47
48 *  l1
49    <pre>
50       preformatted text
51    </pre>
52    * l2
53 ----
54  old lists, oddly enough, work fine
55         * level 1
56         * l1
57                 *l2
58                 *l2
59                         *l3
60                         *l3
61                                 *l4
62                         *l3
63                                         *l5
64                         *l3
65         #one
66         #two
67                 #one
68                 #two
69         *l1
70                 #three
71                 #four
72         *l1
73                 *l2
74                 # one
75                 # two
76
77 <pre>
78  preformatted text
79  some more text
80 </pre>
81
82         *l1
83                                 *l2
84         # number
85         # number
86 this is a plain paragraph
87         * bullet
88 this is a plain paragraph again
89         # number
90 ----
91 __Link tests__
92 # normal: HomePage
93 # in brackets: [HomePage] -- named: [the front page|HomePage]
94 # Link in brackets: [http://phpwiki.sourceforge.net/]
95 # Link outside brackets: http://phpwiki.sourceforge.net/
96 # Link with Wiki word: http://phpwiki.sourceforge.net/phpwiki/index.php?HomePage
97 # Two consecutive links: http://phpwiki.sourceforge.net/ http://phpwiki.sourceforge.net/phpwiki/
98 # [PhpWiki on Sourceforge | http://phpwiki.sourceforge.net/]
99 # [URL with a WikiWord | http://phpwiki.sourceforge.net/phpwiki/index.php?RecentChanges]
100 # Javascript: [boo! | javascript:alert('oops') ]  (is now: named internal link)
101 # A [[Link] produces a [Link]
102 # A [Link] looks like this: [[Link]
103 # This is a [%%%] line break link
104 # Also this page is [[not linked to], and this one is !NotLinkedTo and this one neither !http://not.linked.to/.
105   * WikiName - WikiNameSameStem -- !!WikiName - !!WikiNameSameStem
106   * !!WikiName - !!WikiNameSameStem -- WikiName - WikiNameSameStem
107   * WikiNameSameStem - WikiName -- !!WikiNameSameStem - !!WikiName
108   * !!WikiNameSameStem - !!WikiName -- WikiNameSameStem - WikiName
109
110 ----
111 Markup tests:
112
113 __underscores for bold__
114
115 '''quotes for bold'''
116
117 ''quotes for italic''
118
119 __''underscores bold italic''__
120
121 '''''five quotes bold italic'''''
122
123 ''''''six quotes''''''
124
125 '''''Bold italic''' and italic'' (buggy)
126
127 '''Bold and ''bold-italic''''' (also buggy)
128
129 !!! h1
130
131 !! h2
132
133 ! h3
134
135 this is plain text with <br>%%%
136 a line break
137
138 look at the <a href="http://phpwiki.sourceforge.net/">markup language</a>
139
140 you cannot use &, < or >
141
142 ----
143 Usage in preformatted text:
144 <pre>
145  __underscores for bold__
146  '''quotes for bold'''
147  ''quotes for italic''
148  __''underscores bold italic''__
149  '''''five quotes bold italic'''''
150  ''''''six quotes''''''
151  !!! h1
152  !! h2
153  ! h3
154  this is plain text with <br>%%%
155  a line break
156  look at the <a href="http://phpwiki.sourceforge.net/">markup language</a>
157  you cannot use &, < or >
158 </pre>