Re: Creole table formatting
- Posted by mattlewis (admin) Dec 10, 2008
- 990 views
DerekParnell said...
mattlewis said...
I've been using TWiki elsewhere, which has a similar syntax, but adds alignment and spanning syntax:
| center-aligned | cell with at least two, and equal number of spaces on either side | right-aligned | cell with more spaces on the left | 2 colspan || and multi-span columns with multiple |'s right next to each other |^| cell with caret indicating follow-up row of multi-span rowsObviously, this isn't part of Creole, but might be useful to have...
Yes, I'd been wondering about how to do this. The proper way is via style sheets but the wiki only outputs HTML and not CSS. I'll play around with it to see what we can do.
Yes, this would require changes to the wiki or the creole parser (I'm not familiar with the guts), but I assume (it must be easy, right?) that you could assign an id or a style class that would correspond to the CSS based on that, right? But that kinda makes assumptions about how it all works, which might not be reasonable.
Matt