Skip to main content

A lightweight markdown to html converter.

Project description

mark3 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.

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:

< foo <b>bar</b>>

Produces:

<p>&lt; foo <b>bar</b>&gt;</p>

Instead of:

<p>&lt; foo <b>bar</b>></p>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mark3-0.1.tar.gz (6.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page