Skip to main content

MkDocs plugin to open outgoing links and PDFs in new tab.

Project description

MkDocs - Open in a new tab plugin

This plugin adds js to open outgoing links and PDFs in a new tab.

Installation

Install the plugin using pip from PyPI:

pip3 install mkdocs-open-in-new-tab-plugin

Usage

Add the plugin to your mkdocs.yml:

plugins:
  - search
  - open-in-new-tab

Testing

Link to Google and GitHub. Both should links should open in a new tab.

Relative link to Relative link should open in the same tab.

Sample PDF link to PDF should open in a new tab (pdf from here).

License

This project is licensed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs-open-in-new-tab-1.0.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

mkdocs_open_in_new_tab-1.0.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs-open-in-new-tab-1.0.0.tar.gz.

File metadata

File hashes

Hashes for mkdocs-open-in-new-tab-1.0.0.tar.gz
Algorithm Hash digest
SHA256 fb07632816f3ab80d8a4e50f02b78f9e0ce3f5961f92939bc60103a2d00cdfb0
MD5 ae703882a725feebef814a1d0773cf15
BLAKE2b-256 f909d6eb9d1f4968cd7ece33b197385fa72e12af803bc0fde0419943a903be0a

See more details on using hashes here.

File details

Details for the file mkdocs_open_in_new_tab-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_open_in_new_tab-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1e4591490a0c2cc5478d950cb78eac7d86d2ad9ff3de19ea55d24801a9bc2c0c
MD5 4f229b6fdc0dcc351c50c08c52e09727
BLAKE2b-256 7d9a9439e0c82e3f0393be35b74789562da7490a4e7ba2f5917d9c4766adbcb2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page