Extension for markdown package to set paragraph direction to `auto`
Project description
Python Markdown Auto Direction
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
text = "Text"
from markdown import markdown
html = markdown(text, extensions=['autodirection'])
print(html)
# <p dir="auto">Text</p>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for markdown-autodirection-0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d490be05a7f00420e65d596d0c11752bbf34d04e0f1b35bc3d5e23dd613b1927 |
|
MD5 | 90fc141b5828c9058b4e51a12020d69c |
|
BLAKE2b-256 | 8d2d06958fae0288d3a5c2eb070c10a190db137f9db6d75a1de87b2d6bf0c89b |