markdown.linktarget
==================
Adds a taget="_blank" attribute to HTML links in Markdown
This extension adds a taget="_blank" attribute to the HTML output when links are parsed from markdown.
It is not added if the href starts with a # so
[link](#something)
will not be touched. Whereas:
[link_text](url) will become <p><a href="url" target="_blank">link_text</a><
Install through pip:
$ pip install MarkdownLinkTarget
To enable the MarkdownLinkTarget package and use it in your markdown generation just add it like so:
import markdown
from MarkdownLinkTarget.linktarget import TargetLinkExtension
result = markdown.markdown(textToRender, extensions=[TargetLinkExtension,]))
==================
Adds a taget="_blank" attribute to HTML links in Markdown
This extension adds a taget="_blank" attribute to the HTML output when links are parsed from markdown.
It is not added if the href starts with a # so
[link](#something)
will not be touched. Whereas:
[link_text](url) will become <p><a href="url" target="_blank">link_text</a><
Install through pip:
$ pip install MarkdownLinkTarget
To enable the MarkdownLinkTarget package and use it in your markdown generation just add it like so:
import markdown
from MarkdownLinkTarget.linktarget import TargetLinkExtension
result = markdown.markdown(textToRender, extensions=[TargetLinkExtension,]))
Metadata
Release files for MarkdownLinkTarget 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| MarkdownLinkTarget-0.1.0.tar.gz | 1.4 kB | Without provenance | Details |
Release files / MarkdownLinkTarget-0.1.0.tar.gz
| Download URL | MarkdownLinkTarget-0.1.0.tar.gz |
|---|---|
| Size | 1.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba4c7e074c163d8b87397dac61f8d75f2b7338d66628bbd9dacf33c8cfdbf85b
|
|
BLAKE2b-256 checksum How to use checksums |
2123c5d34235da8e56dbc7f0f013555bd514411dc44bfc07510e3baae41e0383
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for MarkdownLinkTarget 0.1.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.