(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 
This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Table Syntax


This would be the DokuWiki variant: Problem for me - charet is kind of hard to type on a german keyboard: Charet and than hiting space, it would introduce yet another character that first time users have to look up at their keyboard. It also is not looking like a block for me that is belonging together.
^Hading 1  ^ Heading 2
|Cell 1.1  | 1.2
|Cell 2.1  | 2.2

what about this one

* Hading * Heading 2
| x1     | x3
| x2     | x4

--Christoph 04-Sep-06


If people are open to bigger changes, a strict subset of the table syntax we've discussed for the OLPC document format would be:
|* Heading 1 *|* Heading 2 *|
|   Cell 1.1  |   Cell 1.2  |
|   Cell 2.1  |   Cell 2.2  |

Otherwise, we could adopt a bit of the OLPC syntax, and come up with something like:

|* Heading 1 |* Heading 2
| Cell 1.1   |  Cell 1.2
| Cell 2.1   |  Cell 2.2

--EPAstor 04-Sep-06

i like the second one, first one could be optional, like with headings where trailing equals signs are optional, but what would happen if i would like to use bold in cells

|* Heading 1 |* Heading 2
|**Cell 1.1**|  Cell 1.2
|**Cell 2.1**|  Cell 2.2

kind of confusing. I think we are using way to many stars anyway (in case unordered lists will begin with *)...

--Christoph

I see your points... For using bold in cells, I'd hope that we'd tend to write something more like this:

|* Heading 1    |* Heading 2
|  **Cell 1.1** |  Cell 1.2
|  **Cell 2.1** |  Cell 2.2

But if not, I think that's still okay. As for using too many asterisks... they're all in different contexts. Since header cells in tables generally look a lot like bold (but aren't, exactly), I think it's actually a good idea to reuse the same character that we use for the bold marker for header cells. As for unordered lists... single asterisks will only mean something at the very start (and very end) of a table cell, and I don't think we're allowing lists inside table cells, so I think we're okay.

--Eric

Proposed OLPC table format#

||             TC Music             ||
|------------------------------------|
|* Parent company *|  TC Music, LLC  |
|*     Founded    *|     1990's      |
|*   Founder(s)   *|   Tom Bradley   |
|\                /| Concett Bradley |

Add new attachment

Only authorized users are allowed to upload new attachments.

« This particular version was published on 05-Sep-2006 11:06 by null.