summaryrefslogtreecommitdiff
path: root/TWiki
diff options
context:
space:
mode:
authorPeter Thoeny <web-hurd@gnu.org>2001-04-05 07:31:04 +0000
committerPeter Thoeny <web-hurd@gnu.org>2001-04-05 07:31:04 +0000
commit0234ded46b9a5257998be5004ced226b12b6d521 (patch)
tree70ffefb2950c81914a64e41ca8bf45ed9bd08223 /TWiki
parentb011c0e8d485ba4b535a36b1b907956373b419c3 (diff)
none
Diffstat (limited to 'TWiki')
-rw-r--r--TWiki/TextFormattingRules.mdwn29
1 files changed, 20 insertions, 9 deletions
diff --git a/TWiki/TextFormattingRules.mdwn b/TWiki/TextFormattingRules.mdwn
index 0c6f302e..a66c871b 100644
--- a/TWiki/TextFormattingRules.mdwn
+++ b/TWiki/TextFormattingRules.mdwn
@@ -169,28 +169,39 @@ class CatAnimal {
</td>
</tr>
<tr>
- <td valign="top"><strong>Table:</strong><br /> Optional spaces followed by the cells enclosed in vertical bars. <br /><strong><em>Note:</em></strong> In case you have a long row and you want it to be more readable when you edit the table you can split the row into lines that end with a <code>'\'</code> backslash character. </td>
+ <td valign="top"><strong>Table:</strong><br /> Optional spaces followed by the cells enclosed in vertical bars. <br /><strong><em>Note:</em></strong> <code>| <nop>*bold*<nop> |</nop></nop></code> cells are rendered as table headers. <br /><strong><em>Note:</em></strong> <code>|   spaced   |</code> cells are rendered center aligned. <br /><strong><em>Note:</em></strong> <code>|     spaced |</code> cells are rendered right aligned. <br /><strong><em>Note:</em></strong> <code>| 2 colspan ||</code> cells are rendered as multi-span columns. <br /><strong><em>Note:</em></strong> In case you have a long row and you want it to be more readable when you edit the table you can split the row into lines that end with a <code>'\'</code> backslash character. <br />
+ </td>
<td valign="top"><span style="background: #FFFFCC"><font color="#990000"> <pre>
-| A1 | B1 | C1 |
-| A2 | B2 | C2 |
-| A3 \<nop>
+| *L* | *C* | *R* |
+| A2 | 2 | 2 |
+| A3 | 3 | 3 |
+| multi span |||
+| A4 \<nop>
| next \<nop>
| next |
</nop></nop></pre> </font></span></td>
<td valign="top">
<table border="1" cellpadding="1" cellspacing="0">
<tr>
- <td> A1 </td>
- <td> B1 </td>
- <td> C1 </td>
+ <th bgcolor="#99CCCC"><strong>L</strong></th>
+ <th bgcolor="#99CCCC"><strong>C</strong></th>
+ <th bgcolor="#99CCCC"><strong>R</strong></th>
</tr>
<tr>
<td> A2 </td>
- <td> B2 </td>
- <td> C2 </td>
+ <td align="center"> 2 </td>
+ <td align="right"> 2 </td>
</tr>
<tr>
<td> A3 </td>
+ <td align="center"> 3 </td>
+ <td align="right"> 3 </td>
+ </tr>
+ <tr>
+ <td colspan="3"> multi span </td>
+ </tr>
+ <tr>
+ <td> A4 </td>
<td> next </td>
<td> next </td>
</tr>