mark3
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.
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.
Metadata
Release files for mark3 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mark3-0.1.2.tar.gz | 7.2 kB | Without provenance | Details for mark3-0.1.2.tar.gz |
Release files / mark3-0.1.2.tar.gz
| Download URL | mark3-0.1.2.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58d7f3855ff7584040bf703706a1ef42da529e1bf93fb88ec06b1426a31c1217
|
|
BLAKE2b-256 checksum How to use checksums |
24c7c73921d2e0ea014879ab5d30b206f3ddc44287de3db61a3152fc2adeb7ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mark3 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.