============================ Standard Wiki Pre-processors ============================ ($Id$) MediaWiki Formatting ==================== >>> from cybertools.wiki.preproc.mediawiki import preprocess Links ----- >>> src = '''Some text with [[a link]] and ... [[link2 | another link]] with separate text.''' >>> preprocess(src) 'Some text with `a link `__ and\n`another link `__ with separate text.' Embedding of Images ------------------- >>> src = '''[[image:media01.jpg]]''' >>> print preprocess(src) .. image:: media01.jpg