Skip to main content

markdown-newtab

Build Status PyPI CC0 License

This extension modifies the HTML output of Python-Markdown to open all links in a new tab by adding target="_blank". See run_tests.py for example usage.

Updated to work on Markdown 3.0+.

pip install markdown3-newtab

Usage

from markdown import Markdown

Markdown(extensions=[NewTabExtension()])

or

from markdown import Markdown

Markdown(extensions=[markdown3-newtab])

Metadata

Release files for markdown3-newtab 0.2.0

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

Source distribution (sdist)

Source distribution for markdown3-newtab 0.2.0
File Size Uploaded Provenance Actions
markdown3_newtab-0.2.0.tar.gz 4.5 kB Without provenance Details for markdown3_newtab-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for markdown3-newtab 0.2.0
File Interpreter ABI Platform Actions
markdown3_newtab-0.2.0-py3-none-any.whl Python 3 none any Details for markdown3_newtab-0.2.0-py3-none-any.whl

Total release size: 10.3 kB

Release files / markdown3_newtab-0.2.0.tar.gz

Download URL markdown3_newtab-0.2.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
481d2cbaf392b1d86f835d9c5aa606ace235f533d4ad0b283c90454c714e5db2
BLAKE2b-256 checksum
How to use checksums
9e75cb121b7b01973e59233e5ae183b5f20f69f77e1076b8b0e99b83af1d4f20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7

Release files / markdown3_newtab-0.2.0-py3-none-any.whl

Download URL markdown3_newtab-0.2.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4379eee3a8b4ced2908c7826a05ab3d87f3c36dbf90fca7e02bbe225d454502b
BLAKE2b-256 checksum
How to use checksums
fbe4717af1542cbd58a7a73bfbc37f17b26b1e754b399fb505c930018cb2883e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7

Security for markdown3-newtab 0.2.0

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.2.0 This release

2 release files 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