cybertools/wiki/preproc/README.txt
helmutm b3bec8feac provide preprocessor for MediaWiki format links
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3973 fd906abe-77d9-0310-91a1-e0d9ade77398
2010-08-23 13:37:53 +00:00

17 lines
407 B
Text

============================
Standard Wiki Pre-processors
============================
($Id$)
MediaWiki Links
===============
>>> from cybertools.wiki.preproc.mediawiki import preprocess
>>> src = '''Some text with [[a link]] and
... [[link2 | another link]] with separate text.'''
>>> preprocess(src)
'Some text with `a link <a link>`__ and\n`another link <link2>`__ with separate text.'