Skip to main content

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

Install

pip install markdown-autodirection

Use

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

Metadata

Release files for markdown-autodirection 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for markdown-autodirection 0.3
File Size Uploaded Provenance Actions
markdown-autodirection-0.3.tar.gz 2.8 kB Without provenance Details for markdown-autodirection-0.3.tar.gz

Release files / markdown-autodirection-0.3.tar.gz

Download URL markdown-autodirection-0.3.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d490be05a7f00420e65d596d0c11752bbf34d04e0f1b35bc3d5e23dd613b1927
BLAKE2b-256 checksum
How to use checksums
8d2d06958fae0288d3a5c2eb070c10a190db137f9db6d75a1de87b2d6bf0c89b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.2

Security for markdown-autodirection 0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page