Hello,
TiddlyWiki supports a special marker to indicate table headers:
|foo|bar|h
|lorem|ipsum|
(cf.
http://tiddlywiki.org/wiki/TiddlyWiki_Markup#Tables)
WikklyText does not support this at the moment, resulting in a
"WikError: Bad TableCell" exception.
I took a brief look at the source (which I'm not at all familiar
with), and it seems a quick (and dirty) way to fix this would be to
adjust the following token:
t_TABLEROW_END = r"(\|\s*)\n" # normal end of table row
... to simply allow an optional trailing "h":
t_TABLEROW_END = r"(\|h?\s*)\n" # normal end of table row
Aside: I've noticed WikklyText is fairly lenient with regards to
leading and trailing whitespace around table rows. TiddlyWiki
currently* is much stricter in this regard.
Also, when running "pydoc wikklytext", there is no version number or
reference to the website. It would be nice if that information could
be added.
Thanks,
Fred
*
http://trac.tiddlywiki.org/ticket/980