On Tue, 2008-08-12 at 17:03 +0200, Thomas Koch wrote: > Hi Kore, > > I adapted[1] a little Wiki script to use ezcDocument. Now I wounder what > would be the best way to write Wikilinks in ReST. They should be as > short as possible and maybe even correspond to other ReST based Wikis > like MoinMoin[3] or Trac[4]. > > My personal favorite is the MoinMoin syntax: > [:HelpContents:Contents of the Help] > > Would it be possible to have a kind of hook to parse CamelCase words as > Wikilinks? There are people who like them (not me).
Implementing something like this, would make us incompatible with the ReST standard [1], as such I would strongly discourage from doing so. We will implement some parser for common wiki markup at some time, which will implement some of the common wiki link syntaxes, but merging those standards does not look right to me. I would just interprete local links as wiki links, using the common syntax for anonymous links, or named references, like: > Some text with `a link`__. > > __ WikiPage You can easily change the style of those links with a custom extension of the HTML visitor, like I do in the one attached. Changing the used visitor is described in the tutorial [2]. [1] http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html [2] http://ezcomponents.org/docs/tutorials/Document#restructured-text -- Mit freundlichen Grüßen / Med vennlig hilsen Kore Nordmann (GPG: 0xDDC70BBB) eZ Components Developer eZ systems Headquarters tel +49 (0) 231-9742-7750 | fax +49 (0) 231-9742-7751 [EMAIL PROTECTED] | eZ systems | ez.no
xhtml.php
Description: application/php
signature.asc
Description: This is a digitally signed message part
-- Components mailing list [email protected] http://lists.ez.no/mailman/listinfo/components
