| 1 | \documentclass{article} |
|---|
| 2 | \usepackage{url} |
|---|
| 3 | \usepackage{ulem} |
|---|
| 4 | \newcommand{\anchortext}[1]{\def\ULthickness{.2pt}\underbar{#1}\def\ULthickness{.4pt}} %this does not appear to work properly |
|---|
| 5 | \newcommand{\mypercent}{\%{}}\newcommand{\myamp}{\&{}}\begin{document} |
|---|
| 6 | \subsection{\label{sub:WikiTest}WikiTest} |
|---|
| 7 | |
|---|
| 8 | ============================== Bold + italic markup |
|---|
| 9 | This should be \textbf{\emph{bold and italic}} |
|---|
| 10 | |
|---|
| 11 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 12 | |
|---|
| 13 | \textless{}p\textgreater{} |
|---|
| 14 | This should be \textless{}strong\textgreater{}\textless{}i\textgreater{}bold and italic\textless{}/i\textgreater{}\textless{}/strong\textgreater{} |
|---|
| 15 | \textless{}/p\textgreater{} |
|---|
| 16 | |
|---|
| 17 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 18 | |
|---|
| 19 | ============================== Consecutive bold + italic markup |
|---|
| 20 | \textbf{\emph{one}}, \textbf{\emph{two}}, \textbf{\emph{three}}, \textbf{\emph{four}} |
|---|
| 21 | |
|---|
| 22 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 23 | |
|---|
| 24 | \textless{}p\textgreater{} |
|---|
| 25 | \textless{}strong\textgreater{}\textless{}i\textgreater{}one\textless{}/i\textgreater{}\textless{}/strong\textgreater{}, \textless{}strong\textgreater{}\textless{}i\textgreater{}two\textless{}/i\textgreater{}\textless{}/strong\textgreater{}, \textless{}strong\textgreater{}\textless{}i\textgreater{}three\textless{}/i\textgreater{}\textless{}/strong\textgreater{}, \textless{}strong\textgreater{}\textless{}i\textgreater{}four\textless{}/i\textgreater{}\textless{}/strong\textgreater{} |
|---|
| 26 | \textless{}/p\textgreater{} |
|---|
| 27 | |
|---|
| 28 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 29 | |
|---|
| 30 | ============================== Underline + overstrike markup |
|---|
| 31 | \underbar{\sout{underlineoversrike}} |
|---|
| 32 | |
|---|
| 33 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 34 | |
|---|
| 35 | \textless{}p\textgreater{} |
|---|
| 36 | \textless{}span class=``underline``\textgreater{}\textless{}del\textgreater{}underlineoversrike\textless{}/del\textgreater{}\textless{}/span\textgreater{} |
|---|
| 37 | \textless{}/p\textgreater{} |
|---|
| 38 | |
|---|
| 39 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 40 | |
|---|
| 41 | ============================== Problematic markup: overlapping tags |
|---|
| 42 | \underbar{\sout{overlapping}tags\sout{ |
|---|
| 43 | }} |
|---|
| 44 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 45 | |
|---|
| 46 | \textless{}p\textgreater{} |
|---|
| 47 | \textless{}span class=``underline``\textgreater{}\textless{}del\textgreater{}overlapping\textless{}/del\textgreater{}\textless{}/span\textgreater{}\textless{}del\textgreater{}tags\textless{}/del\textgreater{} |
|---|
| 48 | \textless{}/p\textgreater{} |
|---|
| 49 | |
|---|
| 50 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 51 | |
|---|
| 52 | ============================== Problematic markup: out of order close tags |
|---|
| 53 | \underbar{\sout{outoforderclosetags}\sout{ |
|---|
| 54 | }} |
|---|
| 55 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 56 | |
|---|
| 57 | \textless{}p\textgreater{} |
|---|
| 58 | \textless{}span class=``underline``\textgreater{}\textless{}del\textgreater{}outoforderclosetags\textless{}/del\textgreater{}\textless{}/span\textgreater{}\textless{}del\textgreater{}\textless{}/del\textgreater{} |
|---|
| 59 | \textless{}/p\textgreater{} |
|---|
| 60 | |
|---|
| 61 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 62 | |
|---|
| 63 | ============================== Problematic markup: bold + missing close italic |
|---|
| 64 | \textbf{\emph{bolditalic} \#{} Open italic should be closed before paragraph end |
|---|
| 65 | } |
|---|
| 66 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 67 | |
|---|
| 68 | \textless{}p\textgreater{} |
|---|
| 69 | \textless{}strong\textgreater{}\textless{}i\textgreater{}bolditalic\textless{}/i\textgreater{}\textless{}/strong\textgreater{}\textless{}i\textgreater{} \#{} Open italic should be closed before paragraph end |
|---|
| 70 | \textless{}/i\textgreater{}\textless{}/p\textgreater{} |
|---|
| 71 | |
|---|
| 72 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 73 | |
|---|
| 74 | ============================== Italic immediately followed by bold markup |
|---|
| 75 | \textit{italic\textbf{\emph{bold} |
|---|
| 76 | }} |
|---|
| 77 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 78 | |
|---|
| 79 | \textless{}p\textgreater{} |
|---|
| 80 | \textless{}i\textgreater{}italic\textless{}/i\textgreater{}\textless{}strong\textgreater{}bold\textless{}/strong\textgreater{} |
|---|
| 81 | \textless{}/p\textgreater{} |
|---|
| 82 | |
|---|
| 83 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 84 | |
|---|
| 85 | ============================== Bold immediately followed by italic markup |
|---|
| 86 | \textbf{bold}\emph{italic\textit{ |
|---|
| 87 | }} |
|---|
| 88 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 89 | |
|---|
| 90 | \textless{}p\textgreater{} |
|---|
| 91 | \textless{}strong\textgreater{}bold\textless{}/strong\textgreater{}\textless{}i\textgreater{}italic\textless{}/i\textgreater{} |
|---|
| 92 | \textless{}/p\textgreater{} |
|---|
| 93 | |
|---|
| 94 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 95 | |
|---|
| 96 | ============================== Multiline bold italic markup |
|---|
| 97 | \textbf{\emph{bold |
|---|
| 98 | italic |
|---|
| 99 | multiline}} |
|---|
| 100 | |
|---|
| 101 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 102 | |
|---|
| 103 | \textless{}p\textgreater{} |
|---|
| 104 | \textless{}strong\textgreater{}\textless{}i\textgreater{}bold |
|---|
| 105 | italic |
|---|
| 106 | multiline\textless{}/i\textgreater{}\textless{}/strong\textgreater{} |
|---|
| 107 | \textless{}/p\textgreater{} |
|---|
| 108 | |
|---|
| 109 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 110 | |
|---|
| 111 | ============================== Problematic multiline bold italic markup |
|---|
| 112 | \textbf{\emph{bold |
|---|
| 113 | italic |
|---|
| 114 | multiline |
|---|
| 115 | without endtags |
|---|
| 116 | }} |
|---|
| 117 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 118 | |
|---|
| 119 | \textless{}p\textgreater{} |
|---|
| 120 | \textless{}strong\textgreater{}\textless{}i\textgreater{}bold |
|---|
| 121 | italic |
|---|
| 122 | multiline |
|---|
| 123 | without endtags |
|---|
| 124 | \textless{}/i\textgreater{}\textless{}/strong\textgreater{}\textless{}/p\textgreater{} |
|---|
| 125 | |
|---|
| 126 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 127 | |
|---|
| 128 | ============================== Super and subscript markup |
|---|
| 129 | $^{superscript}$, $_{subscript}$, normal. |
|---|
| 130 | |
|---|
| 131 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 132 | |
|---|
| 133 | \textless{}p\textgreater{} |
|---|
| 134 | \textless{}sup\textgreater{}superscript\textless{}/sup\textgreater{}, \textless{}sub\textgreater{}subscript\textless{}/sub\textgreater{}, normal. |
|---|
| 135 | \textless{}/p\textgreater{} |
|---|
| 136 | |
|---|
| 137 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 138 | |
|---|
| 139 | \textless{}sup\textgreater{}superscript\textless{}/sup\textgreater{}, \textless{}sub\textgreater{}subscript\textless{}/sub\textgreater{}, normal. |
|---|
| 140 | ============================== Escaping markup |
|---|
| 141 | \_{}\_{}foo\_{}\_{} |
|---|
| 142 | ~~bar~~ |
|---|
| 143 | ,,boo,, |
|---|
| 144 | \textasciicircum{}baz\textasciicircum{} |
|---|
| 145 | |
|---|
| 146 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 147 | |
|---|
| 148 | \textless{}p\textgreater{} |
|---|
| 149 | \underbar{foo} |
|---|
| 150 | \sout{bar} |
|---|
| 151 | $_{boo}$ |
|---|
| 152 | $^{baz}$ |
|---|
| 153 | \textless{}/p\textgreater{} |
|---|
| 154 | |
|---|
| 155 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 156 | |
|---|
| 157 | ============================== Complex mixed verbatim markup |
|---|
| 158 | \texttt{verbatim} |
|---|
| 159 | \begin{verbatim} |
|---|
| 160 | {{{in `block` |
|---|
| 161 | \end{verbatim} |
|---|
| 162 | \texttt{{{{this is verbatim}}}} and \texttt{`that` should also `be` verbatim} |
|---|
| 163 | |
|---|
| 164 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 165 | |
|---|
| 166 | \textless{}p\textgreater{} |
|---|
| 167 | \textless{}tt\textgreater{}verbatim\textless{}/tt\textgreater{} |
|---|
| 168 | \textless{}/p\textgreater{} |
|---|
| 169 | \textless{}pre class=``wiki``\textgreater{}{{{in \texttt{block} |
|---|
| 170 | \textless{}/pre\textgreater{} |
|---|
| 171 | \textless{}p\textgreater{} |
|---|
| 172 | \textless{}tt\textgreater{}\texttt{this is verbatim}\textless{}/tt\textgreater{} and \textless{}tt\textgreater{}\texttt{that} should also \texttt{be} verbatim\textless{}/tt\textgreater{} |
|---|
| 173 | \textless{}/p\textgreater{} |
|---|
| 174 | |
|---|
| 175 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 176 | |
|---|
| 177 | \textless{}tt\textgreater{}verbatim\textless{}/tt\textgreater{} |
|---|
| 178 | |
|---|
| 179 | \begin{quote} |
|---|
| 180 | |
|---|
| 181 | [\&{}hellip;] |
|---|
| 182 | \textless{}tt\textgreater{}\texttt{this is verbatim}\textless{}/tt\textgreater{} and \textless{}tt\textgreater{}\texttt{that} should also \texttt{be} verbatim\textless{}/tt\textgreater{} |
|---|
| 183 | ============================== |
|---|
| 184 | ============================== Link resolvers, short form |
|---|
| 185 | \anchortext{link:1} (\S\ref{sub:link:1}) |
|---|
| 186 | |
|---|
| 187 | \end{quote} |
|---|
| 188 | |
|---|
| 189 | Thing \url{link:1} Thing\url{link:2} |
|---|
| 190 | |
|---|
| 191 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 192 | |
|---|
| 193 | \textless{}p\textgreater{} |
|---|
| 194 | \textless{}a class=``odd resolver'' href=``/thing/1``\textgreater{}\anchortext{link:1} (\S\ref{sub:link:1})\textless{}/a\textgreater{} |
|---|
| 195 | \textless{}/p\textgreater{} |
|---|
| 196 | \textless{}p\textgreater{} |
|---|
| 197 | Thing \textless{}a class=``odd resolver'' href=``/thing/1``\textgreater{}1\textless{}/a\textgreater{} Thing\textless{}a class=``even resolver'' href=``/thing/2``\textgreater{}2\textless{}/a\textgreater{} |
|---|
| 198 | \textless{}/p\textgreater{} |
|---|
| 199 | |
|---|
| 200 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 201 | |
|---|
| 202 | ============================== Escaping links resolvers, short form |
|---|
| 203 | link:1 |
|---|
| 204 | Thing [link:1 number 1], CS[link:1], [link:bar] |
|---|
| 205 | |
|---|
| 206 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 207 | |
|---|
| 208 | \textless{}p\textgreater{} |
|---|
| 209 | \anchortext{link:1} (\S\ref{sub:link:1}) |
|---|
| 210 | Thing \anchortext{number 1}\footnote{\url{link:1}}, CS\url{link:1}, \url{link:bar} |
|---|
| 211 | \textless{}/p\textgreater{} |
|---|
| 212 | |
|---|
| 213 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 214 | |
|---|
| 215 | ============================== Link resolvers, long form with label |
|---|
| 216 | \anchortext{thing one}\footnote{\url{link:1}}, \anchortext{edgewall}\footnote{\url{http://www.edgewall.com/}} |
|---|
| 217 | |
|---|
| 218 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 219 | |
|---|
| 220 | \textless{}p\textgreater{} |
|---|
| 221 | \textless{}a class=``odd resolver'' href=``/thing/1``\textgreater{}thing one\textless{}/a\textgreater{}, \textless{}a class=``ext-link'' href=``\url{http:http://www.edgewall.com/}``\textgreater{}\textless{}span class=``icon``\textgreater{}\textless{}/span\textgreater{}edgewall\textless{}/a\textgreater{} |
|---|
| 222 | \textless{}/p\textgreater{} |
|---|
| 223 | |
|---|
| 224 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 225 | |
|---|
| 226 | ============================== Link resolver SHREF\_{}TARGET\_{}LAST |
|---|
| 227 | Add-on to \anchortext{link:123} (\S\ref{sub:link:123}): |
|---|
| 228 | Some change. |
|---|
| 229 | \anchortext{link:1} (\S\ref{sub:link:1}) |
|---|
| 230 | This ticket is the first one |
|---|
| 231 | \anchortext{link:123} (\S\ref{sub:link:123})\textgreater{} |
|---|
| 232 | \anchortext{link:123} (\S\ref{sub:link:123})\&{} |
|---|
| 233 | |
|---|
| 234 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 235 | |
|---|
| 236 | \textless{}p\textgreater{} |
|---|
| 237 | Add-on to \textless{}a class=``odd resolver'' href=``/thing/123``\textgreater{}\anchortext{link:123} (\S\ref{sub:link:123})\textless{}/a\textgreater{}: |
|---|
| 238 | Some change. |
|---|
| 239 | \textless{}a class=``odd resolver'' href=``/thing/1``\textgreater{}\anchortext{link:1} (\S\ref{sub:link:1})\textless{}/a\textgreater{} |
|---|
| 240 | This ticket is the first one |
|---|
| 241 | \textless{}a class=``odd resolver'' href=``/thing/123``\textgreater{}\anchortext{link:123} (\S\ref{sub:link:123})\textless{}/a\textgreater{}\&{}gt; |
|---|
| 242 | \textless{}a class=``odd resolver'' href=``/thing/123``\textgreater{}\anchortext{link:123} (\S\ref{sub:link:123})\textless{}/a\textgreater{}\&{}amp; |
|---|
| 243 | \textless{}/p\textgreater{} |
|---|
| 244 | |
|---|
| 245 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 246 | |
|---|
| 247 | Add-on to \textless{}a class=``odd resolver'' href=``/thing/123``\textgreater{}\anchortext{link:123} (\S\ref{sub:link:123})\textless{}/a\textgreater{}: |
|---|
| 248 | Some change. |
|---|
| 249 | \textless{}a class=``odd resolver'' href=``/thing/1``\textgreater{}\anchortext{link:1} (\S\ref{sub:link:1})\textless{}/a\textgreater{} |
|---|
| 250 | This ticket is the first one |
|---|
| 251 | \textless{}a class=``odd resolver'' href=``/thing/123``\textgreater{}\anchortext{link:123} (\S\ref{sub:link:123})\textless{}/a\textgreater{}\&{}gt; |
|---|
| 252 | \textless{}a class=``odd resolver'' href=``/thing/123``\textgreater{}\anchortext{link:123} (\S\ref{sub:link:123})\textless{}/a\textgreater{}\&{}amp; |
|---|
| 253 | ============================== Link resolver SHREF\_{}TARGET\_{}FIRST |
|---|
| 254 | \textless{}bug\textgreater{}\url{http:http://localhost/bugzilla/show\_{}bug.cgi?id=1284}\textless{}/bug\textgreater{} 804 |
|---|
| 255 | |
|---|
| 256 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 257 | |
|---|
| 258 | \textless{}p\textgreater{} |
|---|
| 259 | \&{}lt;bug\&{}gt;\textless{}a class=``ext-link'' href=``\url{http:http://localhost/bugzilla/show\_{}bug.cgi?id=1284}``\textgreater{}\textless{}span class=``icon``\textgreater{}\textless{}/span\textgreater{}\url{http:http://localhost/bugzilla/show\_{}bug.cgi?id=1284}\textless{}/a\textgreater{}\&{}lt;/bug\&{}gt; 804 |
|---|
| 260 | \textless{}/p\textgreater{} |
|---|
| 261 | |
|---|
| 262 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 263 | |
|---|
| 264 | ============================== Link resolver SHREF\_{}TARGET\_{}MIDDLE |
|---|
| 265 | |
|---|
| 266 | \begin{tabular}{|l|l|l|l|l|l|l|l|l|} \hline |
|---|
| 267 | |
|---|
| 268 | \url{http:http://example.com/img.png} & text |
|---|
| 269 | ~\\ \hline |
|---|
| 270 | \end{tabular} |
|---|
| 271 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 272 | |
|---|
| 273 | \textless{}table class=``wiki``\textgreater{} |
|---|
| 274 | \textless{}tr\textgreater{}\textless{}td\textgreater{}\textless{}img src=``\url{http:http://example.com/img.png}'' alt=``\url{http:http://example.com/img.png}'' /\textgreater{}\textless{}/td\textgreater{}\textless{}td\textgreater{}text |
|---|
| 275 | \textless{}/td\textgreater{}\textless{}/tr\textgreater{}\textless{}/table\textgreater{} |
|---|
| 276 | |
|---|
| 277 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 278 | \begin{tabular}{|l|l|l|l|l|l|l|l|l|} \hline |
|---|
| 279 | |
|---|
| 280 | \textless{}a class=``ext-link'' href=``\url{http:http://example.com/img.png}``\textgreater{}\textless{}span class=``icon``\textgreater{}\textless{}/span\textgreater{}\url{http:http://example.com/img.png}\textless{}/a\textgreater{} & text |
|---|
| 281 | ~\\ \hline |
|---|
| 282 | \end{tabular} |
|---|
| 283 | |
|---|
| 284 | ============================== Link resolver, long form with quoting |
|---|
| 285 | \anchortext{Foo}\footnote{\url{link:WikiStart}} \anchortext{Edgewall}\footnote{\url{http://www.edgewall.com/}} |
|---|
| 286 | |
|---|
| 287 | |
|---|
| 288 | \anchortext{link:``Foo Bar''} (\S\ref{sub:link:Foo-Bar}) \anchortext{link:``Foo Bar\#{}baz''} (\S\ref{sub:link:Foo-Bar:baz}) |
|---|
| 289 | |
|---|
| 290 | |
|---|
| 291 | \url{link:Foo Bar} \anchortext{Foo Bar}\footnote{\url{link:Foo Bar\#{}baz}} |
|---|
| 292 | |
|---|
| 293 | |
|---|
| 294 | \anchortext{*argv[] versus **argv}\footnote{\url{link:Argv}} |
|---|
| 295 | |
|---|
| 296 | |
|---|
| 297 | \anchortext{``test.txt'', line 123}\footnote{\url{link:test}} |
|---|
| 298 | |
|---|
| 299 | |
|---|
| 300 | \anchortext{\mypercent{}de}\footnote{\url{link:pl/de}} |
|---|
| 301 | |
|---|
| 302 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 303 | |
|---|
| 304 | \textless{}p\textgreater{} |
|---|
| 305 | \textless{}a class=``text resolver'' href=``/stuff/WikiStart``\textgreater{}Foo\textless{}/a\textgreater{} \textless{}a class=``ext-link'' href=``\url{http:http://www.edgewall.com/}``\textgreater{}\textless{}span class=``icon``\textgreater{}\textless{}/span\textgreater{}Edgewall\textless{}/a\textgreater{} |
|---|
| 306 | \textless{}/p\textgreater{} |
|---|
| 307 | \textless{}p\textgreater{} |
|---|
| 308 | \textless{}a class=``text resolver'' href=``/stuff/Foo\mypercent{}20Bar``\textgreater{}\anchortext{link:``Foo Bar''} (\S\ref{sub:link:Foo-Bar})\textless{}/a\textgreater{} \textless{}a class=``text resolver'' href=``/stuff/Foo\mypercent{}20Bar\mypercent{}23baz``\textgreater{}\anchortext{link:``Foo Bar\#{}baz''} (\S\ref{sub:link:Foo-Bar:baz})\textless{}/a\textgreater{} |
|---|
| 309 | \textless{}/p\textgreater{} |
|---|
| 310 | \textless{}p\textgreater{} |
|---|
| 311 | \textless{}a class=``text resolver'' href=``/stuff/Foo\mypercent{}20Bar``\textgreater{}Foo Bar\textless{}/a\textgreater{} \textless{}a class=``text resolver'' href=``/stuff/Foo\mypercent{}20Bar\mypercent{}23baz``\textgreater{}Foo Bar\textless{}/a\textgreater{} |
|---|
| 312 | \textless{}/p\textgreater{} |
|---|
| 313 | \textless{}p\textgreater{} |
|---|
| 314 | \textless{}a class=``text resolver'' href=``/stuff/Argv``\textgreater{}*argv[] versus **argv\textless{}/a\textgreater{} |
|---|
| 315 | \textless{}/p\textgreater{} |
|---|
| 316 | \textless{}p\textgreater{} |
|---|
| 317 | \textless{}a class=``text resolver'' href=``/stuff/test``\textgreater{}``test.txt'', line 123\textless{}/a\textgreater{} |
|---|
| 318 | \textless{}/p\textgreater{} |
|---|
| 319 | \textless{}p\textgreater{} |
|---|
| 320 | \textless{}a class=``text resolver'' href=``/stuff/pl/de``\textgreater{}\mypercent{}de\textless{}/a\textgreater{} |
|---|
| 321 | \textless{}/p\textgreater{} |
|---|
| 322 | |
|---|
| 323 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 324 | |
|---|
| 325 | ============================== Link resolver in markup |
|---|
| 326 | \textbf{\anchortext{link:1} (\S\ref{sub:link:1})}, \textit{\anchortext{link:1} (\S\ref{sub:link:1})}, \sout{\anchortext{link:1} (\S\ref{sub:link:1})}, \underbar{\anchortext{link:1} (\S\ref{sub:link:1})} |
|---|
| 327 | |
|---|
| 328 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 329 | |
|---|
| 330 | \textless{}p\textgreater{} |
|---|
| 331 | \textless{}strong\textgreater{}\textless{}a class=``odd resolver'' href=``/thing/1``\textgreater{}\anchortext{link:1} (\S\ref{sub:link:1})\textless{}/a\textgreater{}\textless{}/strong\textgreater{}, \textless{}i\textgreater{}\textless{}a class=``odd resolver'' href=``/thing/1``\textgreater{}\anchortext{link:1} (\S\ref{sub:link:1})\textless{}/a\textgreater{}\textless{}/i\textgreater{}, \textless{}del\textgreater{}\textless{}a class=``odd resolver'' href=``/thing/1``\textgreater{}\anchortext{link:1} (\S\ref{sub:link:1})\textless{}/a\textgreater{}\textless{}/del\textgreater{}, \textless{}span class=``underline``\textgreater{}\textless{}a class=``odd resolver'' href=``/thing/1``\textgreater{}\anchortext{link:1} (\S\ref{sub:link:1})\textless{}/a\textgreater{}\textless{}/span\textgreater{} |
|---|
| 332 | \textless{}/p\textgreater{} |
|---|
| 333 | |
|---|
| 334 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 335 | |
|---|
| 336 | ============================== Link resolver, quoting of target |
|---|
| 337 | \anchortext{link:1} (\S\ref{sub:link:1}) |
|---|
| 338 | \anchortext{link:12} (\S\ref{sub:link:12}) |
|---|
| 339 | \anchortext{link:123} (\S\ref{sub:link:123}) |
|---|
| 340 | \anchortext{link:'1'} (\S\ref{sub:link:1}) |
|---|
| 341 | \anchortext{link:'12'} (\S\ref{sub:link:12}) |
|---|
| 342 | \anchortext{link:'123'} (\S\ref{sub:link:123}) |
|---|
| 343 | \anchortext{link:``1''} (\S\ref{sub:link:1}) |
|---|
| 344 | \anchortext{link:``12''} (\S\ref{sub:link:12}) |
|---|
| 345 | \anchortext{link:``123''} (\S\ref{sub:link:123}) |
|---|
| 346 | |
|---|
| 347 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 348 | |
|---|
| 349 | \textless{}p\textgreater{} |
|---|
| 350 | \textless{}a class=``odd resolver'' href=``/thing/1``\textgreater{}\anchortext{link:1} (\S\ref{sub:link:1})\textless{}/a\textgreater{} |
|---|
| 351 | \textless{}a class=``even resolver'' href=``/thing/12``\textgreater{}\anchortext{link:12} (\S\ref{sub:link:12})\textless{}/a\textgreater{} |
|---|
| 352 | \textless{}a class=``odd resolver'' href=``/thing/123``\textgreater{}\anchortext{link:123} (\S\ref{sub:link:123})\textless{}/a\textgreater{} |
|---|
| 353 | \textless{}a class=``odd resolver'' href=``/thing/1``\textgreater{}\anchortext{link:'1'} (\S\ref{sub:link:1})\textless{}/a\textgreater{} |
|---|
| 354 | \textless{}a class=``even resolver'' href=``/thing/12``\textgreater{}\anchortext{link:'12'} (\S\ref{sub:link:12})\textless{}/a\textgreater{} |
|---|
| 355 | \textless{}a class=``odd resolver'' href=``/thing/123``\textgreater{}\anchortext{link:'123'} (\S\ref{sub:link:123})\textless{}/a\textgreater{} |
|---|
| 356 | \textless{}a class=``odd resolver'' href=``/thing/1``\textgreater{}\anchortext{link:``1''} (\S\ref{sub:link:1})\textless{}/a\textgreater{} |
|---|
| 357 | \textless{}a class=``even resolver'' href=``/thing/12``\textgreater{}\anchortext{link:``12''} (\S\ref{sub:link:12})\textless{}/a\textgreater{} |
|---|
| 358 | \textless{}a class=``odd resolver'' href=``/thing/123``\textgreater{}\anchortext{link:``123''} (\S\ref{sub:link:123})\textless{}/a\textgreater{} |
|---|
| 359 | \textless{}/p\textgreater{} |
|---|
| 360 | |
|---|
| 361 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 362 | |
|---|
| 363 | ============================== Relative links |
|---|
| 364 | Relative links are supported: |
|---|
| 365 | \anchortext{See above}\footnote{\url{../parent}} |
|---|
| 366 | \anchortext{See documentation}\footnote{\url{/docs}} |
|---|
| 367 | \url{/images/logo.png} (relimage - todo: make figure float with caption Our logo) |
|---|
| 368 | \url{/} |
|---|
| 369 | |
|---|
| 370 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 371 | |
|---|
| 372 | \textless{}p\textgreater{} |
|---|
| 373 | Relative links are supported: |
|---|
| 374 | \textless{}a href=''../parent``\textgreater{}See above\textless{}/a\textgreater{} |
|---|
| 375 | \textless{}a href=``/docs``\textgreater{}See documentation\textless{}/a\textgreater{} |
|---|
| 376 | \textless{}img src=``/images/logo.png'' alt=``Our logo'' /\textgreater{} |
|---|
| 377 | \textless{}a href=``/``\textgreater{}/\textless{}/a\textgreater{} |
|---|
| 378 | \textless{}/p\textgreater{} |
|---|
| 379 | |
|---|
| 380 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 381 | |
|---|
| 382 | ============================== Image \anchortext{TracLink} (\S\ref{sub:TracLink}) (DEPRECATED) |
|---|
| 383 | \url{http:http://example.com/img.png?foo=bar} |
|---|
| 384 | |
|---|
| 385 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 386 | |
|---|
| 387 | \textless{}p\textgreater{} |
|---|
| 388 | \textless{}img src=``\url{http:http://example.com/img.png?foo=bar}'' alt=``\url{http:http://example.com/img.png?foo=bar}'' /\textgreater{} |
|---|
| 389 | \textless{}/p\textgreater{} |
|---|
| 390 | |
|---|
| 391 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 392 | |
|---|
| 393 | \textless{}a class=``ext-link'' href=``\url{http:http://example.com/img.png?foo=bar}``\textgreater{}\textless{}span class=``icon``\textgreater{}\textless{}/span\textgreater{}\url{http:http://example.com/img.png?foo=bar}\textless{}/a\textgreater{} |
|---|
| 394 | ============================== Arbitrary protocol Link |
|---|
| 395 | \textit{RFCs von \anchortext{ftp://ftp.rfc-editor.org/in-notes/rfcXXXX.txt} (\S\ref{sub:ftp://ftp.rfc-editor.org/in-notes/rfcXXXX.txt})} |
|---|
| 396 | |
|---|
| 397 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 398 | |
|---|
| 399 | \textless{}p\textgreater{} |
|---|
| 400 | \textless{}i\textgreater{}RFCs von \textless{}a class=``ext-link'' href=``\anchortext{ftp://ftp.rfc-editor.org/in-notes/rfcXXXX.txt} (\S\ref{sub:ftp://ftp.rfc-editor.org/in-notes/rfcXXXX.txt})``\textgreater{}\textless{}span class=``icon``\textgreater{}\textless{}/span\textgreater{}\anchortext{ftp://ftp.rfc-editor.org/in-notes/rfcXXXX.txt} (\S\ref{sub:ftp://ftp.rfc-editor.org/in-notes/rfcXXXX.txt})\textless{}/a\textgreater{}\textless{}/i\textgreater{} |
|---|
| 401 | \textless{}/p\textgreater{} |
|---|
| 402 | |
|---|
| 403 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 404 | |
|---|
| 405 | ============================== Another arbitrary protocol Link |
|---|
| 406 | \anchortext{svn+ssh://secureserver.org} (\S\ref{sub:svn+ssh://secureserver.org}) |
|---|
| 407 | \anchortext{SVN link}\footnote{\url{svn+ssh://secureserver.org}} |
|---|
| 408 | \anchortext{rfc-2396.compatible://link} (\S\ref{sub:rfc-2396.compatible://link}) |
|---|
| 409 | \anchortext{RFC 2396}\footnote{\url{rfc-2396.compatible://link}} |
|---|
| 410 | |
|---|
| 411 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 412 | |
|---|
| 413 | \textless{}p\textgreater{} |
|---|
| 414 | \textless{}a class=``ext-link'' href=``\anchortext{svn+ssh://secureserver.org} (\S\ref{sub:svn+ssh://secureserver.org})``\textgreater{}\textless{}span class=``icon``\textgreater{}\textless{}/span\textgreater{}\anchortext{svn+ssh://secureserver.org} (\S\ref{sub:svn+ssh://secureserver.org})\textless{}/a\textgreater{} |
|---|
| 415 | \textless{}a class=``ext-link'' href=``\anchortext{svn+ssh://secureserver.org} (\S\ref{sub:svn+ssh://secureserver.org})``\textgreater{}\textless{}span class=``icon``\textgreater{}\textless{}/span\textgreater{}SVN link\textless{}/a\textgreater{} |
|---|
| 416 | \textless{}a class=``ext-link'' href=``\anchortext{rfc-2396.compatible://link} (\S\ref{sub:rfc-2396.compatible://link})``\textgreater{}\textless{}span class=``icon``\textgreater{}\textless{}/span\textgreater{}\anchortext{rfc-2396.compatible://link} (\S\ref{sub:rfc-2396.compatible://link})\textless{}/a\textgreater{} |
|---|
| 417 | \textless{}a class=``ext-link'' href=``\anchortext{rfc-2396.compatible://link} (\S\ref{sub:rfc-2396.compatible://link})``\textgreater{}\textless{}span class=``icon``\textgreater{}\textless{}/span\textgreater{}RFC 2396\textless{}/a\textgreater{} |
|---|
| 418 | \textless{}/p\textgreater{} |
|---|
| 419 | |
|---|
| 420 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 421 | |
|---|
| 422 | ============================== Link resolver counter examples |
|---|
| 423 | Test:\\ There should be a line break |
|---|
| 424 | |
|---|
| 425 | |
|---|
| 426 | Other test:\textbf{bold text} should be bold |
|---|
| 427 | |
|---|
| 428 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 429 | |
|---|
| 430 | \textless{}p\textgreater{} |
|---|
| 431 | Test:\textless{}br /\textgreater{} There should be a line break |
|---|
| 432 | \textless{}/p\textgreater{} |
|---|
| 433 | \textless{}p\textgreater{} |
|---|
| 434 | Other test:\textless{}strong\textgreater{}bold text\textless{}/strong\textgreater{} should be bold |
|---|
| 435 | \textless{}/p\textgreater{} |
|---|
| 436 | |
|---|
| 437 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 438 | |
|---|
| 439 | Test: There should be a line break |
|---|
| 440 | |
|---|
| 441 | |
|---|
| 442 | Other test:\textless{}strong\textgreater{}bold text\textless{}/strong\textgreater{} should be bold |
|---|
| 443 | ============================== Link resolver counter example |
|---|
| 444 | \textbf{Note:} |
|---|
| 445 | |
|---|
| 446 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 447 | |
|---|
| 448 | \textless{}p\textgreater{} |
|---|
| 449 | \textless{}strong\textgreater{}Note:\textless{}/strong\textgreater{} |
|---|
| 450 | \textless{}/p\textgreater{} |
|---|
| 451 | |
|---|
| 452 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 453 | |
|---|
| 454 | \textless{}strong\textgreater{}Note:\textless{}/strong\textgreater{} |
|---|
| 455 | ============================== |
|---|
| 456 | ============================== Code Block 1 |
|---|
| 457 | \begin{verbatim} |
|---|
| 458 | Preformatted text. |
|---|
| 459 | \end{verbatim} |
|---|
| 460 | |
|---|
| 461 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 462 | |
|---|
| 463 | \textless{}pre class=``wiki``\textgreater{}Preformatted text. |
|---|
| 464 | \textless{}/pre\textgreater{} |
|---|
| 465 | |
|---|
| 466 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 467 | \begin{quote} |
|---|
| 468 | |
|---|
| 469 | [\&{}hellip;] |
|---|
| 470 | ============================== Code Block 2 |
|---|
| 471 | \begin{verbatim} |
|---|
| 472 | <b>Preformatted text</b>. |
|---|
| 473 | \end{verbatim} |
|---|
| 474 | |
|---|
| 475 | \end{quote} |
|---|
| 476 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 477 | |
|---|
| 478 | \textless{}pre class=``wiki``\textgreater{}\&{}lt;b\&{}gt;Preformatted text\&{}lt;/b\&{}gt;. |
|---|
| 479 | \textless{}/pre\textgreater{} |
|---|
| 480 | |
|---|
| 481 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 482 | \begin{quote} |
|---|
| 483 | |
|---|
| 484 | [\&{}hellip;] |
|---|
| 485 | ============================== Embedded code blocks |
|---|
| 486 | \begin{verbatim} |
|---|
| 487 | Outer block. |
|---|
| 488 | {{{ |
|---|
| 489 | Inner block. |
|---|
| 490 | }}} |
|---|
| 491 | \end{verbatim} |
|---|
| 492 | |
|---|
| 493 | \end{quote} |
|---|
| 494 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 495 | |
|---|
| 496 | \textless{}pre class=``wiki``\textgreater{}Outer block. |
|---|
| 497 | \begin{verbatim} |
|---|
| 498 | Inner block. |
|---|
| 499 | \end{verbatim} |
|---|
| 500 | \textless{}/pre\textgreater{} |
|---|
| 501 | |
|---|
| 502 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 503 | \begin{quote} |
|---|
| 504 | |
|---|
| 505 | [\&{}hellip;] |
|---|
| 506 | ============================== Consecutive code blocks |
|---|
| 507 | Block |
|---|
| 508 | \begin{verbatim} |
|---|
| 509 | number one |
|---|
| 510 | \end{verbatim} |
|---|
| 511 | and block |
|---|
| 512 | \begin{verbatim} |
|---|
| 513 | number two |
|---|
| 514 | \end{verbatim} |
|---|
| 515 | |
|---|
| 516 | \end{quote} |
|---|
| 517 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 518 | |
|---|
| 519 | \textless{}p\textgreater{} |
|---|
| 520 | Block |
|---|
| 521 | \textless{}/p\textgreater{} |
|---|
| 522 | \textless{}pre class=``wiki``\textgreater{}number one |
|---|
| 523 | \textless{}/pre\textgreater{} |
|---|
| 524 | \textless{}p\textgreater{} |
|---|
| 525 | and block |
|---|
| 526 | \textless{}/p\textgreater{} |
|---|
| 527 | \textless{}pre class=``wiki``\textgreater{}number two |
|---|
| 528 | \textless{}/pre\textgreater{} |
|---|
| 529 | |
|---|
| 530 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 531 | |
|---|
| 532 | Block |
|---|
| 533 | |
|---|
| 534 | \begin{quote} |
|---|
| 535 | |
|---|
| 536 | [\&{}hellip;] |
|---|
| 537 | and block |
|---|
| 538 | [\&{}hellip;] |
|---|
| 539 | ============================== Wiki processor |
|---|
| 540 | \begin{verbatim} |
|---|
| 541 | #!default |
|---|
| 542 | Preformatted text. |
|---|
| 543 | \end{verbatim} |
|---|
| 544 | |
|---|
| 545 | \end{quote} |
|---|
| 546 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 547 | |
|---|
| 548 | \textless{}pre class=``wiki``\textgreater{}Preformatted text. |
|---|
| 549 | \textless{}/pre\textgreater{} |
|---|
| 550 | |
|---|
| 551 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 552 | \begin{quote} |
|---|
| 553 | |
|---|
| 554 | [\&{}hellip;] |
|---|
| 555 | ============================== Wiki processor counter example |
|---|
| 556 | \begin{verbatim} |
|---|
| 557 | #!/bin/sh |
|---|
| 558 | echo "foo" |
|---|
| 559 | \end{verbatim} |
|---|
| 560 | |
|---|
| 561 | \end{quote} |
|---|
| 562 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 563 | |
|---|
| 564 | \textless{}pre class=``wiki``\textgreater{}\#{}!/bin/sh |
|---|
| 565 | echo \&{}\#{}34;foo\&{}\#{}34; |
|---|
| 566 | \textless{}/pre\textgreater{} |
|---|
| 567 | |
|---|
| 568 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 569 | \begin{quote} |
|---|
| 570 | |
|---|
| 571 | [\&{}hellip;] |
|---|
| 572 | ============================== HTML wiki processor |
|---|
| 573 | \begin{verbatim} |
|---|
| 574 | #!html |
|---|
| 575 | <p>Hello World</p> |
|---|
| 576 | \end{verbatim} |
|---|
| 577 | |
|---|
| 578 | \end{quote} |
|---|
| 579 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 580 | |
|---|
| 581 | \textless{}p\textgreater{}Hello World\textless{}/p\textgreater{} |
|---|
| 582 | |
|---|
| 583 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 584 | \begin{quote} |
|---|
| 585 | |
|---|
| 586 | [\&{}hellip;] |
|---|
| 587 | ============================== HTML wiki processor, XSS check 1 |
|---|
| 588 | \begin{verbatim} |
|---|
| 589 | #!html |
|---|
| 590 | <script>alert("");</script> |
|---|
| 591 | \end{verbatim} |
|---|
| 592 | |
|---|
| 593 | \end{quote} |
|---|
| 594 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 595 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 596 | \begin{quote} |
|---|
| 597 | |
|---|
| 598 | [\&{}hellip;] |
|---|
| 599 | ============================== HTML wiki processor, XSS check 2 |
|---|
| 600 | \begin{verbatim} |
|---|
| 601 | #!html |
|---|
| 602 | <div onclick="alert('')">Click me</div> |
|---|
| 603 | \end{verbatim} |
|---|
| 604 | |
|---|
| 605 | \end{quote} |
|---|
| 606 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 607 | |
|---|
| 608 | \textless{}div\textgreater{}Click me\textless{}/div\textgreater{} |
|---|
| 609 | |
|---|
| 610 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 611 | \begin{quote} |
|---|
| 612 | |
|---|
| 613 | [\&{}hellip;] |
|---|
| 614 | ============================== Macro with arguments (leading) |
|---|
| 615 | \begin{verbatim} |
|---|
| 616 | Hello World, args = hej hopp\end{verbatim} |
|---|
| 617 | |
|---|
| 618 | |
|---|
| 619 | \end{quote} |
|---|
| 620 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 621 | |
|---|
| 622 | \textless{}p\textgreater{} |
|---|
| 623 | Hello World, args = hej hopp |
|---|
| 624 | \textless{}/p\textgreater{} |
|---|
| 625 | |
|---|
| 626 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 627 | |
|---|
| 628 | \begin{verbatim} |
|---|
| 629 | Hello World, args = ...\end{verbatim} |
|---|
| 630 | |
|---|
| 631 | ============================== Macro with arguments (in flow) |
|---|
| 632 | Hello, \begin{verbatim} |
|---|
| 633 | Hello World, args = hej hopp\end{verbatim} |
|---|
| 634 | |
|---|
| 635 | |
|---|
| 636 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 637 | |
|---|
| 638 | \textless{}p\textgreater{} |
|---|
| 639 | Hello, Hello World, args = hej hopp |
|---|
| 640 | \textless{}/p\textgreater{} |
|---|
| 641 | |
|---|
| 642 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 643 | |
|---|
| 644 | Hello, \begin{verbatim} |
|---|
| 645 | Hello World, args = ...\end{verbatim} |
|---|
| 646 | |
|---|
| 647 | ============================== Bad macro call |
|---|
| 648 | [[HelloWorld(hej hopp) ]] \#{} This shouldnt executed as macro since it contain whitespace between ) and ] |
|---|
| 649 | |
|---|
| 650 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 651 | |
|---|
| 652 | \textless{}p\textgreater{} |
|---|
| 653 | [[HelloWorld(hej hopp) ]] \#{} This shouldnt executed as macro since it contain whitespace between ) and ] |
|---|
| 654 | \textless{}/p\textgreater{} |
|---|
| 655 | |
|---|
| 656 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 657 | |
|---|
| 658 | [[HelloWorld(hej hopp) ]] \#{} This shouldnt executed as macro since it contain whitespace between ) and ] |
|---|
| 659 | ============================== Another bad macro call |
|---|
| 660 | \begin{verbatim} |
|---|
| 661 | Hello World, args = hej hopp)\end{verbatim} |
|---|
| 662 | \#{} Extra right brace and still executed |
|---|
| 663 | |
|---|
| 664 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 665 | |
|---|
| 666 | \textless{}p\textgreater{} |
|---|
| 667 | Hello World, args = hej hopp) \#{} Extra right brace and still executed |
|---|
| 668 | \textless{}/p\textgreater{} |
|---|
| 669 | |
|---|
| 670 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 671 | |
|---|
| 672 | \begin{verbatim} |
|---|
| 673 | Hello World, args = ...\end{verbatim} |
|---|
| 674 | \#{} Extra right brace and still executed |
|---|
| 675 | ============================== Two consecutive macros on a line |
|---|
| 676 | \begin{verbatim} |
|---|
| 677 | Hello World, args = hej hopp\end{verbatim} |
|---|
| 678 | \begin{verbatim} |
|---|
| 679 | Hello World, args = hej hopp2\end{verbatim} |
|---|
| 680 | \#{} Test non greedy match |
|---|
| 681 | |
|---|
| 682 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 683 | |
|---|
| 684 | \textless{}p\textgreater{} |
|---|
| 685 | Hello World, args = hej hopp Hello World, args = hej hopp2 \#{} Test non greedy match |
|---|
| 686 | \textless{}/p\textgreater{} |
|---|
| 687 | |
|---|
| 688 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 689 | |
|---|
| 690 | \begin{verbatim} |
|---|
| 691 | Hello World, args = ...\end{verbatim} |
|---|
| 692 | \begin{verbatim} |
|---|
| 693 | Hello World, args = ...\end{verbatim} |
|---|
| 694 | \#{} Test non greedy match |
|---|
| 695 | ============================== Macro returning a \textless{}div\textgreater{} |
|---|
| 696 | \begin{verbatim} |
|---|
| 697 | \textless{}div class=``system-message``\textgreater{} |
|---|
| 698 | \textless{}strong\textgreater{}Error: Failed to load processor \textless{}code\textgreater{}DivHelloWorld\textless{}/code\textgreater{}\textless{}/strong\textgreater{} |
|---|
| 699 | \textless{}pre\textgreater{}No macro named [[DivHelloWorld]] found\textless{}/pre\textgreater{} |
|---|
| 700 | \textless{}/div\textgreater{} |
|---|
| 701 | \end{verbatim} |
|---|
| 702 | |
|---|
| 703 | |
|---|
| 704 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 705 | |
|---|
| 706 | \textless{}p\textgreater{} |
|---|
| 707 | \textless{}/p\textgreater{}\textless{}div\textgreater{}Hello World, args = hej hopp\textless{}/div\textgreater{}\textless{}p\textgreater{} |
|---|
| 708 | \textless{}/p\textgreater{} |
|---|
| 709 | |
|---|
| 710 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 711 | |
|---|
| 712 | \begin{verbatim} |
|---|
| 713 | \textless{}div class=``system-message``\textgreater{} |
|---|
| 714 | \textless{}strong\textgreater{}Error: Failed to load processor \textless{}code\textgreater{}DivHelloWorld\textless{}/code\textgreater{}\textless{}/strong\textgreater{} |
|---|
| 715 | \textless{}pre\textgreater{}No macro named [[DivHelloWorld]] found\textless{}/pre\textgreater{} |
|---|
| 716 | \textless{}/div\textgreater{} |
|---|
| 717 | \end{verbatim} |
|---|
| 718 | |
|---|
| 719 | ============================== Macro returning a \textless{}div class=''...code...``\textgreater{} |
|---|
| 720 | \begin{verbatim} |
|---|
| 721 | \textless{}div class=``system-message``\textgreater{} |
|---|
| 722 | \textless{}strong\textgreater{}Error: Failed to load processor \textless{}code\textgreater{}DivCode\textless{}/code\textgreater{}\textless{}/strong\textgreater{} |
|---|
| 723 | \textless{}pre\textgreater{}No macro named [[DivCode]] found\textless{}/pre\textgreater{} |
|---|
| 724 | \textless{}/div\textgreater{} |
|---|
| 725 | \end{verbatim} |
|---|
| 726 | |
|---|
| 727 | |
|---|
| 728 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 729 | |
|---|
| 730 | \textless{}p\textgreater{} |
|---|
| 731 | \textless{}span class=``code-block``\textgreater{}Hello World, args = hej hopp\textless{}/span\textgreater{} |
|---|
| 732 | \textless{}/p\textgreater{} |
|---|
| 733 | |
|---|
| 734 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 735 | |
|---|
| 736 | \begin{verbatim} |
|---|
| 737 | \textless{}div class=``system-message``\textgreater{} |
|---|
| 738 | \textless{}strong\textgreater{}Error: Failed to load processor \textless{}code\textgreater{}DivCode\textless{}/code\textgreater{}\textless{}/strong\textgreater{} |
|---|
| 739 | \textless{}pre\textgreater{}No macro named [[DivCode]] found\textless{}/pre\textgreater{} |
|---|
| 740 | \textless{}/div\textgreater{} |
|---|
| 741 | \end{verbatim} |
|---|
| 742 | |
|---|
| 743 | ============================== Macro returning an html.DIV(class=''...code...``\textgreater{}) |
|---|
| 744 | \begin{verbatim} |
|---|
| 745 | \textless{}div class=``system-message``\textgreater{} |
|---|
| 746 | \textless{}strong\textgreater{}Error: Failed to load processor \textless{}code\textgreater{}DivCodeElement\textless{}/code\textgreater{}\textless{}/strong\textgreater{} |
|---|
| 747 | \textless{}pre\textgreater{}No macro named [[DivCodeElement]] found\textless{}/pre\textgreater{} |
|---|
| 748 | \textless{}/div\textgreater{} |
|---|
| 749 | \end{verbatim} |
|---|
| 750 | |
|---|
| 751 | |
|---|
| 752 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 753 | |
|---|
| 754 | \textless{}p\textgreater{} |
|---|
| 755 | \textless{}span class=``code-block``\textgreater{}Hello World, args = hej hopp\textless{}/span\textgreater{} |
|---|
| 756 | \textless{}/p\textgreater{} |
|---|
| 757 | |
|---|
| 758 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 759 | |
|---|
| 760 | \begin{verbatim} |
|---|
| 761 | \textless{}div class=``system-message``\textgreater{} |
|---|
| 762 | \textless{}strong\textgreater{}Error: Failed to load processor \textless{}code\textgreater{}DivCodeElement\textless{}/code\textgreater{}\textless{}/strong\textgreater{} |
|---|
| 763 | \textless{}pre\textgreater{}No macro named [[DivCodeElement]] found\textless{}/pre\textgreater{} |
|---|
| 764 | \textless{}/div\textgreater{} |
|---|
| 765 | \end{verbatim} |
|---|
| 766 | |
|---|
| 767 | ============================== Inlined HTML wiki processor |
|---|
| 768 | Inline \begin{verbatim} |
|---|
| 769 | \textless{}b\textgreater{} Test \textless{}/b\textgreater{}\end{verbatim} |
|---|
| 770 | text |
|---|
| 771 | |
|---|
| 772 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 773 | |
|---|
| 774 | \textless{}p\textgreater{} |
|---|
| 775 | Inline \textless{}b\textgreater{} Test \textless{}/b\textgreater{} text |
|---|
| 776 | \textless{}/p\textgreater{} |
|---|
| 777 | |
|---|
| 778 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 779 | |
|---|
| 780 | Inline \begin{verbatim} |
|---|
| 781 | ...\end{verbatim} |
|---|
| 782 | text |
|---|
| 783 | ============================== BR macro |
|---|
| 784 | Line break \\ another line\\last line |
|---|
| 785 | |
|---|
| 786 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 787 | |
|---|
| 788 | \textless{}p\textgreater{} |
|---|
| 789 | Line break \textless{}br /\textgreater{} another line\textless{}br /\textgreater{}last line |
|---|
| 790 | \textless{}/p\textgreater{} |
|---|
| 791 | |
|---|
| 792 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 793 | |
|---|
| 794 | Line break another line last line |
|---|
| 795 | ============================== Comment wiki processor |
|---|
| 796 | Test comment blocks |
|---|
| 797 | \begin{verbatim} |
|---|
| 798 | #!comment |
|---|
| 799 | This is simply removed from the output |
|---|
| 800 | \end{verbatim} |
|---|
| 801 | |
|---|
| 802 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 803 | |
|---|
| 804 | \textless{}p\textgreater{} |
|---|
| 805 | Test comment blocks |
|---|
| 806 | \textless{}/p\textgreater{} |
|---|
| 807 | |
|---|
| 808 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 809 | |
|---|
| 810 | Test comment blocks |
|---|
| 811 | ============================== Comment wiki processor called as a macro |
|---|
| 812 | Inline \begin{verbatim} |
|---|
| 813 | \end{verbatim} |
|---|
| 814 | comment |
|---|
| 815 | |
|---|
| 816 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 817 | |
|---|
| 818 | \textless{}p\textgreater{} |
|---|
| 819 | Inline comment |
|---|
| 820 | \textless{}/p\textgreater{} |
|---|
| 821 | |
|---|
| 822 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 823 | |
|---|
| 824 | Inline comment |
|---|
| 825 | ============================== I18N heading |
|---|
| 826 | |
|---|
| 827 | \subsubsection{Bad Unicode} |
|---|
| 828 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 829 | |
|---|
| 830 | \textless Bad Unicode extgreater |
|---|
| 831 | |
|---|
| 832 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 833 | \subsubsection{Bad Unicode} |
|---|
| 834 | |
|---|
| 835 | ============================== Quoted heading |
|---|
| 836 | |
|---|
| 837 | \subsubsection{\label{anchor:Test}``Test''} |
|---|
| 838 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 839 | |
|---|
| 840 | \textless{}h1 id=``Test``\textgreater{}``Test``\textless{}/h1\textgreater{} |
|---|
| 841 | |
|---|
| 842 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 843 | \subsubsection{\label{anchor:Test1}``Test''} |
|---|
| 844 | |
|---|
| 845 | ============================== Heading with \textless{} and \textgreater{} |
|---|
| 846 | |
|---|
| 847 | \subsubsection{\label{anchor:Foo-<Bar>-Baz}Foo \textless{}Bar\textgreater{} Baz} |
|---|
| 848 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 849 | |
|---|
| 850 | \textless{}h1 id=``FooltBargtBaz``\textgreater{}Foo \&{}lt;Bar\&{}gt; Baz\textless{}/h1\textgreater{} |
|---|
| 851 | |
|---|
| 852 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 853 | \subsubsection{\label{anchor:Foo-lt;Bargt;-Baz}Foo extless{}Bar extgreater{} Baz} |
|---|
| 854 | |
|---|
| 855 | ============================== Normal heading |
|---|
| 856 | |
|---|
| 857 | \subsubsection{\label{anchor:Heading-with-trailing-white-space}Heading with trailing white-space} |
|---|
| 858 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 859 | |
|---|
| 860 | \textless{}h2 id=``Headingwithtrailingwhitespace``\textgreater{}Heading with trailing white-space\textless{}/h2\textgreater{} |
|---|
| 861 | |
|---|
| 862 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 863 | \subsubsection{\label{anchor:Heading-with-trailing-white-space1}Heading with trailing white-space} |
|---|
| 864 | |
|---|
| 865 | ============================== Formatted heading |
|---|
| 866 | |
|---|
| 867 | \subsubsection{\label{anchor:Formatted---Heading--}''Formatted'' ~~Heading~~} |
|---|
| 868 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 869 | |
|---|
| 870 | \textless{}h2 id=``FormattedHeading``\textgreater{}\textless{}i\textgreater{}Formatted\textless{}/i\textgreater{} \textless{}del\textgreater{}Heading\textless{}/del\textgreater{}\textless{}/h2\textgreater{} |
|---|
| 871 | |
|---|
| 872 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 873 | \subsubsection{\label{anchor:Formatted---Heading--1}''Formatted'' ~~Heading~~} |
|---|
| 874 | |
|---|
| 875 | ============================== Heading with link |
|---|
| 876 | |
|---|
| 877 | \subsubsection{\label{anchor:[wiki:SandBox-Linked-Heading]}[wiki:SandBox Linked Heading]} |
|---|
| 878 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 879 | |
|---|
| 880 | \textless{}h2 id=``LinkedHeading``\textgreater{}\textless{}a class=``missing wiki'' href=``/wiki/SandBox'' rel=``nofollow``\textgreater{}Linked Heading?\textless{}/a\textgreater{}\textless{}/h2\textgreater{} |
|---|
| 881 | |
|---|
| 882 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 883 | \subsubsection{\label{anchor:[wiki:SandBox-Linked-Heading]1}[wiki:SandBox Linked Heading]} |
|---|
| 884 | |
|---|
| 885 | ============================== Bulleted lists |
|---|
| 886 | Paragraph |
|---|
| 887 | |
|---|
| 888 | \begin{itemize} |
|---|
| 889 | |
|---|
| 890 | \item foo bar |
|---|
| 891 | boo baz |
|---|
| 892 | \begin{itemize} |
|---|
| 893 | |
|---|
| 894 | \item Subitem |
|---|
| 895 | Subitem line 2 |
|---|
| 896 | \end{itemize} |
|---|
| 897 | |
|---|
| 898 | \item item 2 |
|---|
| 899 | item 2 line 2 |
|---|
| 900 | \end{itemize} |
|---|
| 901 | |
|---|
| 902 | Paragraph |
|---|
| 903 | |
|---|
| 904 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 905 | |
|---|
| 906 | \textless{}p\textgreater{} |
|---|
| 907 | Paragraph |
|---|
| 908 | \textless{}/p\textgreater{} |
|---|
| 909 | \textless{}ul\textgreater{}\textless{}li\textgreater{}foo bar |
|---|
| 910 | boo baz |
|---|
| 911 | \textless{}ul\textgreater{}\textless{}li\textgreater{}Subitem |
|---|
| 912 | Subitem line 2 |
|---|
| 913 | \textless{}/li\textgreater{}\textless{}/ul\textgreater{}\textless{}/li\textgreater{}\textless{}li\textgreater{}item 2 |
|---|
| 914 | item 2 line 2 |
|---|
| 915 | \textless{}/li\textgreater{}\textless{}/ul\textgreater{}\textless{}p\textgreater{} |
|---|
| 916 | Paragraph |
|---|
| 917 | \textless{}/p\textgreater{} |
|---|
| 918 | |
|---|
| 919 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 920 | |
|---|
| 921 | Paragraph |
|---|
| 922 | |
|---|
| 923 | \begin{itemize} |
|---|
| 924 | |
|---|
| 925 | \item foo bar |
|---|
| 926 | boo baz |
|---|
| 927 | \begin{itemize} |
|---|
| 928 | |
|---|
| 929 | \item Subitem |
|---|
| 930 | Subitem line 2 |
|---|
| 931 | \end{itemize} |
|---|
| 932 | |
|---|
| 933 | \item item 2 |
|---|
| 934 | item 2 line 2 |
|---|
| 935 | \end{itemize} |
|---|
| 936 | |
|---|
| 937 | Paragraph |
|---|
| 938 | ============================== Numbered lists |
|---|
| 939 | |
|---|
| 940 | \begin{enumerate} |
|---|
| 941 | |
|---|
| 942 | \item item 1 |
|---|
| 943 | \begin{enumerate} |
|---|
| 944 | |
|---|
| 945 | \item item 1.a |
|---|
| 946 | |
|---|
| 947 | \item item 1.b |
|---|
| 948 | \end{enumerate} |
|---|
| 949 | \end{enumerate} |
|---|
| 950 | |
|---|
| 951 | Some paragraph |
|---|
| 952 | |
|---|
| 953 | \begin{enumerate} |
|---|
| 954 | |
|---|
| 955 | \item continue with item 2 |
|---|
| 956 | \begin{enumerate} |
|---|
| 957 | |
|---|
| 958 | \item roman 1 |
|---|
| 959 | |
|---|
| 960 | \item roman 2 |
|---|
| 961 | \end{enumerate} |
|---|
| 962 | \end{enumerate} |
|---|
| 963 | |
|---|
| 964 | Paragraph |
|---|
| 965 | |
|---|
| 966 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 967 | |
|---|
| 968 | \textless{}ol\textgreater{}\textless{}li\textgreater{}item 1 |
|---|
| 969 | \textless{}ol class=``loweralpha``\textgreater{}\textless{}li\textgreater{}item 1.a |
|---|
| 970 | \textless{}/li\textgreater{}\textless{}li\textgreater{}item 1.b |
|---|
| 971 | \textless{}/li\textgreater{}\textless{}/ol\textgreater{}\textless{}/li\textgreater{}\textless{}/ol\textgreater{}\textless{}p\textgreater{} |
|---|
| 972 | Some paragraph |
|---|
| 973 | \textless{}/p\textgreater{} |
|---|
| 974 | \textless{}ol start=``2``\textgreater{}\textless{}li\textgreater{}continue with item 2 |
|---|
| 975 | \textless{}ol class=``lowerroman``\textgreater{}\textless{}li\textgreater{}roman 1 |
|---|
| 976 | \textless{}/li\textgreater{}\textless{}li\textgreater{}roman 2 |
|---|
| 977 | \textless{}/li\textgreater{}\textless{}/ol\textgreater{}\textless{}/li\textgreater{}\textless{}/ol\textgreater{}\textless{}p\textgreater{} |
|---|
| 978 | Paragraph |
|---|
| 979 | \textless{}/p\textgreater{} |
|---|
| 980 | |
|---|
| 981 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 982 | |
|---|
| 983 | 1. item 1 |
|---|
| 984 | |
|---|
| 985 | \begin{enumerate} |
|---|
| 986 | |
|---|
| 987 | \item \begin{enumerate} |
|---|
| 988 | |
|---|
| 989 | \item item 1.a |
|---|
| 990 | |
|---|
| 991 | \item item 1.b |
|---|
| 992 | \end{enumerate} |
|---|
| 993 | \end{enumerate} |
|---|
| 994 | |
|---|
| 995 | Some paragraph |
|---|
| 996 | |
|---|
| 997 | \begin{enumerate} |
|---|
| 998 | |
|---|
| 999 | \item continue with item 2 |
|---|
| 1000 | \begin{enumerate} |
|---|
| 1001 | |
|---|
| 1002 | \item roman 1 |
|---|
| 1003 | |
|---|
| 1004 | \item roman 2 |
|---|
| 1005 | \end{enumerate} |
|---|
| 1006 | \end{enumerate} |
|---|
| 1007 | |
|---|
| 1008 | Paragraph |
|---|
| 1009 | ============================== Simple definition list |
|---|
| 1010 | \begin{description} |
|---|
| 1011 | \item term: definition |
|---|
| 1012 | |
|---|
| 1013 | \end{description} |
|---|
| 1014 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1015 | |
|---|
| 1016 | \textless{}dl\textgreater{}\textless{}dt\textgreater{}term\textless{}/dt\textgreater{}\textless{}dd\textgreater{}definition |
|---|
| 1017 | \textless{}/dd\textgreater{}\textless{}/dl\textgreater{} |
|---|
| 1018 | |
|---|
| 1019 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1020 | |
|---|
| 1021 | term:: definition |
|---|
| 1022 | ============================== Tricky definition list |
|---|
| 1023 | \begin{description} |
|---|
| 1024 | \item term: definition:: text |
|---|
| 1025 | |
|---|
| 1026 | \end{description} |
|---|
| 1027 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1028 | |
|---|
| 1029 | \textless{}dl\textgreater{}\textless{}dt\textgreater{}term\textless{}/dt\textgreater{}\textless{}dd\textgreater{}definition:: text |
|---|
| 1030 | \textless{}/dd\textgreater{}\textless{}/dl\textgreater{} |
|---|
| 1031 | |
|---|
| 1032 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1033 | |
|---|
| 1034 | term:: definition:: text |
|---|
| 1035 | ============================== Verbatim term in definition list |
|---|
| 1036 | \begin{description} |
|---|
| 1037 | \item `term`: definition |
|---|
| 1038 | |
|---|
| 1039 | \end{description} |
|---|
| 1040 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1041 | |
|---|
| 1042 | \textless{}dl\textgreater{}\textless{}dt\textgreater{}\textless{}tt\textgreater{}term\textless{}/tt\textgreater{}\textless{}/dt\textgreater{}\textless{}dd\textgreater{}definition |
|---|
| 1043 | \textless{}/dd\textgreater{}\textless{}/dl\textgreater{} |
|---|
| 1044 | |
|---|
| 1045 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1046 | |
|---|
| 1047 | \textless{}tt\textgreater{}term\textless{}/tt\textgreater{}:: definition |
|---|
| 1048 | ============================== Another verbatim term in definition list |
|---|
| 1049 | \begin{description} |
|---|
| 1050 | \item {{{term}}}: definition |
|---|
| 1051 | |
|---|
| 1052 | \end{description} |
|---|
| 1053 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1054 | |
|---|
| 1055 | \textless{}dl\textgreater{}\textless{}dt\textgreater{}\textless{}tt\textgreater{}term\textless{}/tt\textgreater{}\textless{}/dt\textgreater{}\textless{}dd\textgreater{}definition |
|---|
| 1056 | \textless{}/dd\textgreater{}\textless{}/dl\textgreater{} |
|---|
| 1057 | |
|---|
| 1058 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1059 | |
|---|
| 1060 | \textless{}tt\textgreater{}term\textless{}/tt\textgreater{}:: definition |
|---|
| 1061 | ============================== Complex definition list |
|---|
| 1062 | \begin{description} |
|---|
| 1063 | \item complex topic: multiline |
|---|
| 1064 | \textit{formatted} |
|---|
| 1065 | definition |
|---|
| 1066 | |
|---|
| 1067 | \end{description} |
|---|
| 1068 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1069 | |
|---|
| 1070 | \textless{}dl\textgreater{}\textless{}dt\textgreater{}complex topic\textless{}/dt\textgreater{}\textless{}dd\textgreater{}multiline |
|---|
| 1071 | \textless{}i\textgreater{}formatted\textless{}/i\textgreater{} |
|---|
| 1072 | definition |
|---|
| 1073 | \textless{}/dd\textgreater{}\textless{}/dl\textgreater{} |
|---|
| 1074 | |
|---|
| 1075 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1076 | |
|---|
| 1077 | complex topic:: multiline |
|---|
| 1078 | |
|---|
| 1079 | \begin{quote} |
|---|
| 1080 | \begin{quote} |
|---|
| 1081 | \begin{quote} |
|---|
| 1082 | \begin{quote} |
|---|
| 1083 | \begin{quote} |
|---|
| 1084 | \begin{quote} |
|---|
| 1085 | \begin{quote} |
|---|
| 1086 | \begin{quote} |
|---|
| 1087 | \begin{quote} |
|---|
| 1088 | |
|---|
| 1089 | \textless{}i\textgreater{}formatted\textless{}/i\textgreater{} |
|---|
| 1090 | definition |
|---|
| 1091 | ============================== Definition list counter example |
|---|
| 1092 | |
|---|
| 1093 | \end{quote} |
|---|
| 1094 | \end{quote} |
|---|
| 1095 | \end{quote} |
|---|
| 1096 | \end{quote} |
|---|
| 1097 | \end{quote} |
|---|
| 1098 | \end{quote} |
|---|
| 1099 | \end{quote} |
|---|
| 1100 | \end{quote} |
|---|
| 1101 | \end{quote} |
|---|
| 1102 | \begin{quote} |
|---|
| 1103 | |
|---|
| 1104 | term::definition |
|---|
| 1105 | |
|---|
| 1106 | \end{quote} |
|---|
| 1107 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1108 | |
|---|
| 1109 | \textless{}blockquote\textgreater{} |
|---|
| 1110 | \textless{}p\textgreater{} |
|---|
| 1111 | term::definition |
|---|
| 1112 | \textless{}/p\textgreater{} |
|---|
| 1113 | \textless{}/blockquote\textgreater{} |
|---|
| 1114 | |
|---|
| 1115 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1116 | |
|---|
| 1117 | term::definition |
|---|
| 1118 | ============================== Definition list + escaped definition list |
|---|
| 1119 | \begin{description} |
|---|
| 1120 | \item complex topic: multiline |
|---|
| 1121 | \texttt{not:: a dl} |
|---|
| 1122 | |
|---|
| 1123 | \end{description} |
|---|
| 1124 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1125 | |
|---|
| 1126 | \textless{}dl\textgreater{}\textless{}dt\textgreater{}complex topic\textless{}/dt\textgreater{}\textless{}dd\textgreater{}multiline |
|---|
| 1127 | \textless{}tt\textgreater{}not:: a dl\textless{}/tt\textgreater{} |
|---|
| 1128 | \textless{}/dd\textgreater{}\textless{}/dl\textgreater{} |
|---|
| 1129 | |
|---|
| 1130 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1131 | |
|---|
| 1132 | complex topic:: multiline |
|---|
| 1133 | \begin{description} |
|---|
| 1134 | \item \textless{}tt\textgreater{}not: a dl\textless{}/tt\textgreater{} |
|---|
| 1135 | \end{description} |
|---|
| 1136 | ============================== Definition list + another escaped definition list |
|---|
| 1137 | \begin{description} |
|---|
| 1138 | \item complex topic: multiline |
|---|
| 1139 | \texttt{not:: a dl} |
|---|
| 1140 | |
|---|
| 1141 | \end{description} |
|---|
| 1142 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1143 | |
|---|
| 1144 | \textless{}dl\textgreater{}\textless{}dt\textgreater{}complex topic\textless{}/dt\textgreater{}\textless{}dd\textgreater{}multiline |
|---|
| 1145 | \textless{}tt\textgreater{}not:: a dl\textless{}/tt\textgreater{} |
|---|
| 1146 | \textless{}/dd\textgreater{}\textless{}/dl\textgreater{} |
|---|
| 1147 | |
|---|
| 1148 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1149 | |
|---|
| 1150 | complex topic:: multiline |
|---|
| 1151 | \begin{description} |
|---|
| 1152 | \item \textless{}tt\textgreater{}not: a dl\textless{}/tt\textgreater{} |
|---|
| 1153 | \end{description} |
|---|
| 1154 | ============================== Simple Table, one column |
|---|
| 1155 | |
|---|
| 1156 | \begin{tabular}{|l|l|l|l|l|l|l|l|l|} \hline |
|---|
| 1157 | |
|---|
| 1158 | a |
|---|
| 1159 | ~\\ \hline |
|---|
| 1160 | |
|---|
| 1161 | b |
|---|
| 1162 | ~\\ \hline |
|---|
| 1163 | \end{tabular} |
|---|
| 1164 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1165 | |
|---|
| 1166 | \textless{}table class=``wiki``\textgreater{} |
|---|
| 1167 | \textless{}tr\textgreater{}\textless{}td\textgreater{} a |
|---|
| 1168 | \textless{}/td\textgreater{}\textless{}/tr\textgreater{}\textless{}tr\textgreater{}\textless{}td\textgreater{} b |
|---|
| 1169 | \textless{}/td\textgreater{}\textless{}/tr\textgreater{}\textless{}/table\textgreater{} |
|---|
| 1170 | |
|---|
| 1171 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1172 | \begin{tabular}{|l|l|l|l|l|l|l|l|l|} \hline |
|---|
| 1173 | |
|---|
| 1174 | a |
|---|
| 1175 | ~\\ \hline |
|---|
| 1176 | |
|---|
| 1177 | b |
|---|
| 1178 | ~\\ \hline |
|---|
| 1179 | \end{tabular} |
|---|
| 1180 | |
|---|
| 1181 | ============================== Simple Table, multiple columns |
|---|
| 1182 | in: |
|---|
| 1183 | |
|---|
| 1184 | \begin{tabular}{|l|l|l|l|l|l|l|l|l|} \hline |
|---|
| 1185 | |
|---|
| 1186 | RPC\#{} & parameter len & ..... parameter ..... |
|---|
| 1187 | ~\\ \hline |
|---|
| 1188 | \end{tabular} |
|---|
| 1189 | |
|---|
| 1190 | out: |
|---|
| 1191 | |
|---|
| 1192 | \begin{tabular}{|l|l|l|l|l|l|l|l|l|} \hline |
|---|
| 1193 | |
|---|
| 1194 | RPC\#{} & parameter len & ..... parameter ..... |
|---|
| 1195 | ~\\ \hline |
|---|
| 1196 | \end{tabular} |
|---|
| 1197 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1198 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1199 | |
|---|
| 1200 | \textless{}p\textgreater{} |
|---|
| 1201 | in: |
|---|
| 1202 | \textless{}/p\textgreater{} |
|---|
| 1203 | \textless{}table class=``wiki``\textgreater{} |
|---|
| 1204 | \textless{}tr\textgreater{}\textless{}td\textgreater{} RPC\#{} \textless{}/td\textgreater{}\textless{}td\textgreater{} parameter len \textless{}/td\textgreater{}\textless{}td\textgreater{} ..... parameter ..... |
|---|
| 1205 | \textless{}/td\textgreater{}\textless{}/tr\textgreater{}\textless{}/table\textgreater{} |
|---|
| 1206 | \textless{}p\textgreater{} |
|---|
| 1207 | out: |
|---|
| 1208 | \textless{}/p\textgreater{} |
|---|
| 1209 | \textless{}table class=``wiki``\textgreater{} |
|---|
| 1210 | \textless{}tr\textgreater{}\textless{}td\textgreater{} RPC\#{} \textless{}/td\textgreater{}\textless{}td\textgreater{} parameter len \textless{}/td\textgreater{}\textless{}td\textgreater{} ..... parameter ..... |
|---|
| 1211 | \textless{}/td\textgreater{}\textless{}/tr\textgreater{}\textless{}/table\textgreater{} |
|---|
| 1212 | \textless{}hr /\textgreater{} |
|---|
| 1213 | |
|---|
| 1214 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1215 | |
|---|
| 1216 | in: |
|---|
| 1217 | |
|---|
| 1218 | \begin{tabular}{|l|l|l|l|l|l|l|l|l|} \hline |
|---|
| 1219 | |
|---|
| 1220 | RPC\#{} & parameter len & ..... parameter ..... |
|---|
| 1221 | ~\\ \hline |
|---|
| 1222 | \end{tabular} |
|---|
| 1223 | |
|---|
| 1224 | out: |
|---|
| 1225 | |
|---|
| 1226 | \begin{tabular}{|l|l|l|l|l|l|l|l|l|} \hline |
|---|
| 1227 | |
|---|
| 1228 | RPC\#{} & parameter len & ..... parameter ..... |
|---|
| 1229 | ~\\ \hline |
|---|
| 1230 | \end{tabular} |
|---|
| 1231 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1232 | |
|---|
| 1233 | ============================== |
|---|
| 1234 | ============================== General Wiki syntax, mix of headings and lists |
|---|
| 1235 | |
|---|
| 1236 | \subsubsection{\label{anchor:Heading-1}Heading 1} |
|---|
| 1237 | |
|---|
| 1238 | Paragraph |
|---|
| 1239 | |
|---|
| 1240 | \begin{itemize} |
|---|
| 1241 | |
|---|
| 1242 | \item Item 1 |
|---|
| 1243 | \begin{itemize} |
|---|
| 1244 | |
|---|
| 1245 | \item Item 2 |
|---|
| 1246 | \end{itemize} |
|---|
| 1247 | \end{itemize} |
|---|
| 1248 | |
|---|
| 1249 | Another paragraph |
|---|
| 1250 | |
|---|
| 1251 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1252 | |
|---|
| 1253 | \textless{}h1 id=``Heading1``\textgreater{}Heading 1\textless{}/h1\textgreater{} |
|---|
| 1254 | \textless{}p\textgreater{} |
|---|
| 1255 | Paragraph |
|---|
| 1256 | \textless{}/p\textgreater{} |
|---|
| 1257 | \textless{}ul\textgreater{}\textless{}li\textgreater{}Item 1 |
|---|
| 1258 | \textless{}ul\textgreater{}\textless{}li\textgreater{}Item 2 |
|---|
| 1259 | \textless{}/li\textgreater{}\textless{}/ul\textgreater{}\textless{}/li\textgreater{}\textless{}/ul\textgreater{}\textless{}p\textgreater{} |
|---|
| 1260 | Another paragraph |
|---|
| 1261 | \textless{}/p\textgreater{} |
|---|
| 1262 | |
|---|
| 1263 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1264 | \subsubsection{\label{anchor:Heading-11}Heading 1} |
|---|
| 1265 | |
|---|
| 1266 | Paragraph |
|---|
| 1267 | |
|---|
| 1268 | \begin{itemize} |
|---|
| 1269 | |
|---|
| 1270 | \item Item 1 |
|---|
| 1271 | \begin{itemize} |
|---|
| 1272 | |
|---|
| 1273 | \item Item 2 |
|---|
| 1274 | \end{itemize} |
|---|
| 1275 | \end{itemize} |
|---|
| 1276 | |
|---|
| 1277 | Another paragraph |
|---|
| 1278 | ============================== General Wiki syntax: heading, lists and table |
|---|
| 1279 | Paragraph |
|---|
| 1280 | |
|---|
| 1281 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1282 | \begin{enumerate} |
|---|
| 1283 | |
|---|
| 1284 | \item Item 1 |
|---|
| 1285 | \begin{enumerate} |
|---|
| 1286 | |
|---|
| 1287 | \item Item 2 |
|---|
| 1288 | \end{enumerate} |
|---|
| 1289 | \end{enumerate} |
|---|
| 1290 | \begin{tabular}{|l|l|l|l|l|l|l|l|l|} \hline |
|---|
| 1291 | |
|---|
| 1292 | Table & cell |
|---|
| 1293 | ~\\ \hline |
|---|
| 1294 | |
|---|
| 1295 | Foo & Bar & Baz |
|---|
| 1296 | ~\\ \hline |
|---|
| 1297 | \end{tabular} |
|---|
| 1298 | |
|---|
| 1299 | \url{http:http://www.edgewall.com/} |
|---|
| 1300 | |
|---|
| 1301 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1302 | |
|---|
| 1303 | \textless{}p\textgreater{} |
|---|
| 1304 | Paragraph |
|---|
| 1305 | \textless{}/p\textgreater{} |
|---|
| 1306 | \textless{}hr /\textgreater{} |
|---|
| 1307 | \textless{}ol\textgreater{}\textless{}li\textgreater{}Item 1 |
|---|
| 1308 | \textless{}ol start=``2``\textgreater{}\textless{}li\textgreater{}Item 2 |
|---|
| 1309 | \textless{}/li\textgreater{}\textless{}/ol\textgreater{}\textless{}/li\textgreater{}\textless{}/ol\textgreater{}\textless{}table class=``wiki``\textgreater{} |
|---|
| 1310 | \textless{}tr\textgreater{}\textless{}td\textgreater{}Table\textless{}/td\textgreater{}\textless{}td\textgreater{}cell |
|---|
| 1311 | \textless{}/td\textgreater{}\textless{}/tr\textgreater{}\textless{}tr\textgreater{}\textless{}td\textgreater{}Foo\textless{}/td\textgreater{}\textless{}td\textgreater{}Bar\textless{}/td\textgreater{}\textless{}td\textgreater{}Baz |
|---|
| 1312 | \textless{}/td\textgreater{}\textless{}/tr\textgreater{}\textless{}/table\textgreater{} |
|---|
| 1313 | \textless{}p\textgreater{} |
|---|
| 1314 | \textless{}a class=``ext-link'' href=``\url{http:http://www.edgewall.com/}``\textgreater{}\textless{}span class=``icon``\textgreater{}\textless{}/span\textgreater{}\url{http:http://www.edgewall.com/}\textless{}/a\textgreater{} |
|---|
| 1315 | \textless{}/p\textgreater{} |
|---|
| 1316 | |
|---|
| 1317 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1318 | |
|---|
| 1319 | Paragraph |
|---|
| 1320 | |
|---|
| 1321 | {\normalsize \vspace{1ex} \hrule width \columnwidth \vspace{1ex}} |
|---|
| 1322 | \begin{enumerate} |
|---|
| 1323 | |
|---|
| 1324 | \item Item 1 |
|---|
| 1325 | \begin{enumerate} |
|---|
| 1326 | |
|---|
| 1327 | \item Item 2 |
|---|
| 1328 | \end{enumerate} |
|---|
| 1329 | \end{enumerate} |
|---|
| 1330 | \begin{tabular}{|l|l|l|l|l|l|l|l|l|} \hline |
|---|
| 1331 | |
|---|
| 1332 | Table & cell |
|---|
| 1333 | ~\\ \hline |
|---|
| 1334 | |
|---|
| 1335 | Foo & Bar & Baz |
|---|
| 1336 | ~\\ \hline |
|---|
| 1337 | \end{tabular} |
|---|
| 1338 | |
|---|
| 1339 | \textless{}a class=``ext-link'' href=``\url{http:http://www.edgewall.com/}``\textgreater{}\textless{}span class=``icon``\textgreater{}\textless{}/span\textgreater{}\url{http:http://www.edgewall.com/}\textless{}/a\textgreater{} |
|---|
| 1340 | |
|---|
| 1341 | \end{document} |
|---|