A MkDocs plugin that converts markdown encoded email-links into spambot save <a href> elements.
Project description
MkDocs encriptMail Plugin
This MkDocs plugin converts markdown encoded email addresses like
[Email-Link](mailto:test@test.test)
into
<a href="javascript:linkTo_UnCryptMailto(%27ocknvq,vguvBvguv0vguv%27)">
Email-Link
</a>
or
[test@test.test](mailto:test@test.test)
into
<a href="javascript:linkTo_UnCryptMailto(%27ocknvq,vguvBvguv0vguv%27)">
test(Q)test(P)test
</a>
This allows to hide email address from spam bots and allows user to link email addresses.
Requirements
This package requires Python >=3.5 and MkDocs version 1.0 or higher.
Installation
Install the package with pip:
pip install mkdocs-encriptmail-plugin
Enable the plugin in your mkdocs.yml:
plugins:
- search
- encriptmail:
placeholderAt: (Q)
placeholderDot: (P)
Note: If you have no plugins entry in your config file yet, you'll likely also want to add the search plugin. MkDocs enables it by default if there is no plugins entry set, but now you have to enable it explicitly.
More information about plugins in the MkDocs documentation
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
File details
Details for the file mkdocs-encriptmail-plugin-0.9.8.tar.gz.
File metadata
- Download URL: mkdocs-encriptmail-plugin-0.9.8.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccd307fa3bc524d5c7549b3bc82a5821452946d8c3870644bf68b6f39ba7bbe2
|
|
| MD5 |
0b5079c313ac8ac925c4a112cc7f94a5
|
|
| BLAKE2b-256 |
5f61ee6502a4e51096e3e6d1028eeadce864360d4ff96cf5439504d793704611
|