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.
Look at the demo.
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
Built Distribution
Close
Hashes for mkdocs-open-in-new-tab-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d4f20210205e1bc8565c4d07391edb6823b7226323ec61f1f00f38fcb334eb3 |
|
MD5 | fbd99af59ef28fe38abb16887acac7c7 |
|
BLAKE2b-256 | 71903e240fb33f0b787cefd834af5afcb5030402c1e9856ff445859a530ec97c |
Close
Hashes for mkdocs_open_in_new_tab-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d65041f458d3f402cd66008416e81f622c4f60910f96c4616d9681c82c634be |
|
MD5 | cd89abe6a3baa52966e580788194633e |
|
BLAKE2b-256 | d8721429ff13aeb1bf667d13acb1e5d0d96e8338284d7439cc0f89d065ff87c0 |