Metadata-Version: 2.1
Name: mkdocs-open-in-new-tab
Version: 1.0.0
Summary: MkDocs plugin to open outgoing links and PDFs in new tab.
Home-page: https://github.com/JakubAndrysek/mkdocs-open-in-new-tab
Author: Jakub Andrýsek
Author-email: email@kubaandrysek.cz
License: MIT
Keywords: mkdocs plugin,open in new tab,mkdocs,plugin,relative links,links
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# 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](https://pypi.org/project/mkdocs-open-in-new-tab-plugin/):

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

## Usage

Add the plugin to your `mkdocs.yml`:

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


## Testing
Link to [Google](https://google.com) and [GitHub](https://github.com).
Both should links should open in a new tab.

Relative link to [Relative link](./docs/RelativeLink.md) should open in the same tab.

Sample PDF link to [PDF](./docs/assets/sample.pdf) should open in a new tab (pdf from [here](https://www.africau.edu/images/default/sample.pdf)).

## License

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