[Rest2web-develop] rest2web Markup
Brought to you by:
mjfoord
|
From: <fuz...@vo...> - 2006-04-10 08:59:12
|
{ran_emo} In working on `rest2web <http://www.voidspace.org.uk/python/rest2web/>`_ I've realised that it would be *very* easy to support other markups.
The ones that spring to mind are :
* `markdown <http://daringfireball.net/projects/markdown/>`_
* `sextile <http://zephyrfalcon.org/labs/sextile_intro.html>`_
* `textile <http://textism.com/tools/textile/>`_
* `Wiki Markup <http://wiki.ittoolbox.com/index.php/ITtoolboxWiki:Wiki_markup>`_ [#]_
Would anyone find that useful ?
I've also discovered that the current system of `uservalues <http://www.voidspace.org.uk/python/rest2web/reference/uservalues.html>`_ is broken in lots of cases [#]_. To fix this I think I need to add a new syntax for including uservalues. I will probably go with :
``<* uservalue *>``
This allows uservalues to contain {acro;ReST;ReStructured Text} and still be turned into HTML.
.. [#] I `anticipated this <http://www.voidspace.org.uk/python/rest2web/reference/uservalues.html#id14>`_, but I didn't realise how serious it was. Now that I'm making *uservalues* more general I *have* to fix it.
.. [#] Although it seems that *wiki markup* is a nebulous concept, with every Wiki having its own variant. Anyone know of a *good* standalone Wiki-format-to-html module for Python ? Bonus points for not suggesting I extract the rendering engine from `MoinMoin <http://moinmoin.wikiwikiweb.de/>`_ but providing a link to the right module instead. {sm;:-p} |