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.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | be7097e57538e377816c7866ef4f1ee4a8fa5c69b205ca11f978381751304fba |
|
MD5 | 47ccfb2a5cc241fcb0299d71e9d8301d |
|
BLAKE2b-256 | 72fb17eafd60589b96450b17137c497534f8ebc77c2d28c985ea67f0bade786d |