Skip to main content

Extension for markdown package to set paragraph direction to `auto`

Project description

Python Markdown Auto Direction

pypi Build Status

Adds dir="auto" attribute to paragraphs, This will help browser to set text direction based on the content of current paragraphs


pip install markdown-autodirection


text = "Text"
from markdown import markdown
html = markdown(text, extensions=['autodirection'])
# <p dir="auto">Text</p>

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 markdown-autodirection, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size markdown-autodirection-0.3.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page