equal
deleted
inserted
replaced
72 else: |
72 else: |
73 # This recursion is not good for large numbers. |
73 # This recursion is not good for large numbers. |
74 return fib(n-1) + fib(n-2) |
74 return fib(n-1) + fib(n-2) |
75 }}} |
75 }}} |
76 |
76 |
77 For more control over the syntax higlighting, the `<code>` tag allows you to specify a file extension: |
77 The `<code>` tag allows you to specify a file extension (note: syntax highlighting is not implemented yet): |
78 |
78 |
79 {{{ |
79 {{{ |
80 <code language="xml"> |
80 <code language="xml"> |
81 <hello target="world"/> |
81 <hello target="world"/> |
82 </code> |
82 </code> |
83 }}} |
83 }}} |
84 |
84 |
85 To disable highlighting entirely, use the `<pre>` tag. |
85 The `<pre>` tag is like the code tag, but will never use syntax highlighting. |
86 |
86 |
87 == Headings == |
87 == Headings == |
88 |
88 |
89 {{{ |
89 {{{ |
90 = Heading = |
90 = Heading = |
316 <tbody> |
316 <tbody> |
317 <tr><td>a</td><td>title dir lang href</td></tr> |
317 <tr><td>a</td><td>title dir lang href</td></tr> |
318 <tr><td>b</td><td>title dir lang</td></tr> |
318 <tr><td>b</td><td>title dir lang</td></tr> |
319 <tr><td>br</td><td>title dir lang</td></tr> |
319 <tr><td>br</td><td>title dir lang</td></tr> |
320 <tr><td>blockquote</td><td>title dir lang</td></tr> |
320 <tr><td>blockquote</td><td>title dir lang</td></tr> |
321 <tr><td>code</td><td>title dir lang language `[1]`</td></tr> |
321 <tr><td>code</td><td>title dir lang</td></tr> |
322 <tr><td>dd</td><td>title dir lang</td></tr> |
322 <tr><td>dd</td><td>title dir lang</td></tr> |
323 <tr><td>div</td><td>title dir lang</td></tr> |
323 <tr><td>div</td><td>title dir lang</td></tr> |
324 <tr><td>dl</td><td>title dir lang</td></tr> |
324 <tr><td>dl</td><td>title dir lang</td></tr> |
325 <tr><td>dt</td><td>title dir lang</td></tr> |
325 <tr><td>dt</td><td>title dir lang</td></tr> |
326 <tr><td>em</td><td>title dir lang</td></tr> |
326 <tr><td>em</td><td>title dir lang</td></tr> |
352 <tr><td>u</td><td>title dir lang</td></tr> |
352 <tr><td>u</td><td>title dir lang</td></tr> |
353 <tr><td>ul</td><td>title dir lang type</td></tr> |
353 <tr><td>ul</td><td>title dir lang type</td></tr> |
354 <tr><td>var</td><td>title dir lang</td></tr> </tbody> |
354 <tr><td>var</td><td>title dir lang</td></tr> </tbody> |
355 </table> |
355 </table> |
356 |
356 |
357 `[1]` The language attribute of the code tag is the file extension of the language used in the code block. It is used as a hint for the syntax highlighter. |
|
358 |
|
359 == Escaping HTML Tags == |
357 == Escaping HTML Tags == |
360 |
358 |
361 When you want to display html tags directly on your wiki page (as opposed to rendered), you will need to escape each HTML tag. |
359 When you want to display html tags directly on your wiki page (as opposed to rendered), you will need to escape each HTML tag. |
362 |
360 |
363 HTML tags can be escaped as shown in the table below: |
361 HTML tags can be escaped as shown in the table below: |