============================
Standard Wiki Pre-processors
============================


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 <a link>`__ and\n`another link <link2>`__ with separate text.'

Embedding of Images
-------------------

  >>> src = '''[[image:media01.jpg]]'''

  >>> print(preprocess(src))
  .. image:: media01.jpg

