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 > Programming > Libraries

    cMarkdown 0.1.1

    Download button

    No screenshots available
    Downloads: 128  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Paul Smith | More programs
    BSD License / FREE
    April 27th, 2011, 10:54 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    cMarkdown description

    Markdown for Python, accelerated by C

    cMarkdown is a markdown for Python, accelerated by C.

    Installation:

     pip install cMarkdown

    Usage:

    >>> import cMarkdown as markdown
    >>> markdown.markdown('# Hello, world!')
    '< h1 >Hello, world!< /h1 >\n'


    Rendering flags

    These are keyword arguments to pass to markdown(). They all default to False.

    - skip_html=True: Any HTML in the input will be escaped on output.
    - skip_style=True: Any < style > elements in the input will be escaped on output.
    - skip_images=True: Any < img > elements in the input will be escaped on output.
    - skip_links=True: Any < a > elements in the input will be escaped on output.
    - smartypants=True: Applies smart punctuation transformations.
    - toc=True: Inserts anchors before < h1 >, < h2 >, et al. for linking in-document from a table of contents.
    - hard_wrap=True: Inserts < br/ > tags before newlines in paragraphs.

    Markdown extension flags

    These keyword arguments to markdown(), which default to False, enable various extensions to the Markdown language.

    - tables=True: Enables a tabular format that renders to < table > in HTML.
    - fenced_code=True: Enables the use of three ``` to delimit the beginning and end of a literal code block.
    - autolink=True: Enables the conversion of bare URLs to links in HTML.
    - strikethrough=True: Enables the use of two ~~ before and after text to wrap it in the < del > tag in HTML.


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    Python markdown | accelerated markdown | accelerated | Python | markdown

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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