From ce6105e00a3b5b47b18f5d872a52692d697a1818 Mon Sep 17 00:00:00 2001 From: PeterThoeny Date: Thu, 5 Apr 2001 07:31:04 +0000 Subject: [PATCH] none --- TWiki/TWikiHistory.mdwn | 2 ++ TWiki/TextFormattingRules.mdwn | 29 ++++++++++++++++++++--------- 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/TWiki/TWikiHistory.mdwn b/TWiki/TWikiHistory.mdwn index 1e18c24..3c2413d 100644 --- a/TWiki/TWikiHistory.mdwn +++ b/TWiki/TWikiHistory.mdwn @@ -1,5 +1,7 @@ **History of the TWiki Implementation (version TWiki-4.1.2, Sat, 03 Mar 2007, build 13046)** +- [[PeterThoeny]] - 27 Mar 2001: The table syntax has been enhanced to (i) render **| \*bold\* |** cells as table headers, (ii) render space padded cells **|  center aligned  |** and **|   right aligned |**, (iii) span multiple columns using **| empty cells |||**. More in [[TextFormattingRules]]. +- [[PeterThoeny]] - 25 Mar 2001: Security fix: Questionable files like PHP scripts (executables) and **.htaccess** files that are attached to a topic get a **.txt** suffix appended to the file name. See also [TWiki:Codev.FileAttachmentFilterSecurityAlert](http://TWiki.org/cgi-bin/view/Codev/FileAttachmentFilterSecurityAlert) - [[AndreaSterbini]], [[PeterThoeny]] - 28 Feb 2001: New Wiki rule for headings, i.e. `---++ My Title`; and new `%TOC%` variable to build a table of content from headings in a topic. More in [[TWikiVariables]]. - [[PeterThoeny]] - 28 Feb 2001: New Wiki rule to specify arbitrary text for external links (i.e. `[[http://TWki.org][TWiki]]`) and internal links (i.e `[[WikiSyntax][syntax]]`). More in [[TWikiVariables]]. - [[PeterThoeny]] - 28 Feb 2001: New Wiki rule for named anchors, e.g. links within a topic. Define a named anchor with `#MyAnchor` at the beginning of a line, and link to it with `[[#MyAnchor]]`. More in [[TWikiVariables]]. diff --git a/TWiki/TextFormattingRules.mdwn b/TWiki/TextFormattingRules.mdwn index 7dbb0f3..949b5cc 100644 --- a/TWiki/TextFormattingRules.mdwn +++ b/TWiki/TextFormattingRules.mdwn @@ -172,26 +172,37 @@ class CatAnimal { - Table:
Optional spaces followed by the cells enclosed in vertical bars.
Note: 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 '\' backslash character. + Table:
Optional spaces followed by the cells enclosed in vertical bars.
Note: | *bold* | cells are rendered as table headers.
Note: |   spaced   | cells are rendered center aligned.
Note: |     spaced | cells are rendered right aligned.
Note: | 2 colspan || cells are rendered as multi-span columns.
Note: 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 '\' backslash character.
+
-| A1 | B1 | C1 |
-| A2 | B2 | C2 |
-| A3 \  | next \  | next |
+| *L* | *C* | *R* |
+| A2 |  2  |  2 |
+| A3 |  3  |  3 |
+| multi span |||
+| A4 \  | next \  | next |
 
- - - + + + - - + + + + + + + + + + -- 1.9.4
A1 B1 C1 L C R
A2 B2 C2 2 2
A3 3 3
multi span
A4 next next