Skip to main content

Available extensions

At the moment 2 extensions available:

  1. autobr - for converting line breaks to br-tags

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

Metadata

Release files for mdxflavours 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mdxflavours 1.0
File Size Uploaded Provenance Actions
mdxflavours-0.9.tar.gz 3.4 kB Without provenance Details for mdxflavours-0.9.tar.gz

Release files / mdxflavours-0.9.tar.gz

Download URL mdxflavours-0.9.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
bf9b45f95868316310ad229c231026aa5fea967193f37381b36cb4706e2c9c65
BLAKE2b-256 checksum
How to use checksums
3e9c5278b9a8439ab586530fb8c91661fb0052fde231ceafde24c836616c77f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for mdxflavours 1.0

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.

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file No provenance

0.9

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page