Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Text Editing&Processing > Markup

    mdxflavours 0.9

    Download button

    No screenshots available
    Downloads: 47  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Alexey Kinyov | More programs
    BSD License / FREE
    January 11th, 2012, 22:08 GMT
    ROOT / Text Editing&Processing / Markup

     Read user reviews (0)  Refer to a friend  Subscribe

    mdxflavours description

    Markdown extensions for basic syntax flavoring

    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 >'



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    markdown extensions | syntax flavoring | markdown | extensions | syntax



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM