/text_mdcite

parser plugin for moinmoin wiki software that helps with citations

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

text_mdcite

Parser for markdown citations for the MoinMoin wiki software

creates markdown citations. 

reduces typing.

style from http://stackoverflow.com/a/2002150/376172

##Dependencies

  • python markdown library
  • bleach

##Syntax:

To use in a code block:

{{{#!text_mdcite
<Author>
<Link>
<multiline citationtext here (in markdown syntax)>
}}}

creates:

<blockquote>
  <p>html citation text</p>
  <p>– <cite><a href="<Link>"><Author></a></cite>
  </p>
</blockquote>

which will be rendered as:

citation

Author

##Installation

tested with Moin 1.9.8

For general installation instructions, see ParserMarket/InstallingParsers.

This parser requires the Python Markdown library and bleach.

Copyright

Copyright 2015 Simon Lenz (post@simon-lenz.de)

heavily based on the moinmoin markdown parser by Jason R. Fruit.

License

released under GPL-3

for more information see LICENCE document