Skip to main content

Tell appart Markdown and reStructuredText.

Project description


Tell appart Markdown and reStructuredText.

  • Free software: MIT license


The package exposes a single function, sniff(content), trying to deduce the format used, returning it as a string: md, rst or txt:

>>> import mdorrst
>>> mdorrst.sniff("[hey](")
>>> mdorrst.sniff("`hey <>`__")


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.


0.4.0 (2017-04-27)

  • Simplify API.

0.3.0 (2017-04-26)

  • Python 2.7 support.

0.2.0 (2017-04-26)

  • Expose from_text().

0.1.0 (2017-04-26)

  • First release on PyPI.

Project details

Download files

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

Files for mdorrst, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size mdorrst-0.4.0-py2.py3-none-any.whl (4.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size mdorrst-0.4.0.tar.gz (2.6 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page