Skip to main content

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

Project description

Python Markdown Auto Direction

Build Status

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

Install

pip install markdown-autodirection

Use

from markdown import markdown
html = markdown(text, extensions=['autodirection'])

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

markdown-autodirection-0.2.tar.gz (2.4 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