Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Text Editing&Processing > Markup

    mark3 0.1.2

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Joseph Marshall | More programs
    MIT/X Consortium Lic... / FREE
    August 9th, 2011, 19:31 GMT
    ROOT / Text Editing&Processing / Markup

     Read user reviews (0)  Refer to a friend  Subscribe

    mark3 description

    A lightweight markdown to HTML converter

    mark3 is a Python tool that provides a lightweight, markdown to html parser for Python 2.7 and 3.

    Usage

    Using mark3 is very simple:

    from mark3.markdown import markdown
    html = markdown(raw_text)


    Deviations

    mark3 may differ slightly from the official markdown implementation.

    If you find a difference between mark3's output and the official markdown's not mentioned here, please open a ticket.

    Lists

    A < p > will be placed in an < li > if, and only if it's needed:

    * foo
    * bar

    Will produce the same output as:

    * foo

    * bar

    Inline HTML

    This markdown:

    < foo < b >bar< /b >>

    Produces:

    < p >< foo < b >bar< /b >>< /p >

    Instead of the official markdown implementation output:

    < p >< foo < b >bar< /b >>< /p >

    Tabs

    Tabs are expanded to 4 spaces before parsing. As such, output will never contain tabs.

    Insignificant Whitespace

    Outputted html doesn't have as much insignificant whitespace as the official markdown implementation.

    Requirements:

    · Python

      


    TAGS:

    HTML converter | markdown converter | HTML parser | markdown | HTML | converter

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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