mdxflavours

Software Screenshot:
mdxflavours
Software Details:
Version: 0.9
Upload Date: 14 Apr 15
Developer: Alexey Kinyov
Distribution Type: Freeware
Downloads: 10

Rating: 3.0/5 (Total Votes: 1)

mdxflavours provides markdown extensions for basic syntax flavoring.

Available extensions

At the moment 2 extensions available:

- autobr - for converting line breaks to br-tags
- autolink - for automatically converting urls to links

Installation

Get source from GitHub:

 git clone git://github.com/05bit/python-mdxflavours.git

and add mdxflavours to PYTHONPATH:

 export PYTHONPATH=$PYTHONPATH:$(pwd)/mdxflavours/

or:

 cd mdxflavours
 python setup.py install


Note: importing package mdxflavours automatically adds required path to system paths.

Usage

Example for auto line breaks:

>>> import markdown
>>> markdown.markdown(u'And may the force \nbe with you!') # no extension
>>> u'< p >And may the force< br / >\nbe with you!< /p >'
>>> markdown.markdown(u'And may the force\nbe with you!', extensions=['autobr'])
>>> u'< p >And may the force< br / >\nbe with you!< /p >'

Requirements:

  • Python

Similar Software

vimdown
vimdown

14 Apr 15

xml2rfc
xml2rfc

20 Feb 15

rst2marsedit
rst2marsedit

14 Apr 15

XMLmind XML Editor
XMLmind XML Editor

17 Feb 15

Comments to mdxflavours

Comments not found
Add Comment
Turn on images!