Replaces <secret>...</secret> html with an empty span.
Project description
mkdsecrets
A Python-Markdown preprocessor extension to convert content wrapped in <secret></secret> into <span class="secret"></span> elements instead. Effectively deleting the sensitive content entirely and replacing it with a visual HTML element that can be decorated however deemed best via css stylesheets.
Installation
pip install git+https://github.com/TheMaverickProgrammer/python-markdown-secrets.git
Testing
- Install
pytestviapip install pytest. - Enter the
testdirectory. - Run
python -m pytest.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mkdsecrets-0.0.1.tar.gz.
File metadata
- Download URL: mkdsecrets-0.0.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6672294df230b21dbad0ba87673ca0720a5684aaee0c7c030b4008747a26368
|
|
| MD5 |
8faef443c607dc92289747b37d720857
|
|
| BLAKE2b-256 |
e849792501c8d5453993f3ea775a6e7cb3c6ca345df6415ac3eeeb4d0cc728a2
|
File details
Details for the file mkdsecrets-0.0.1-py3-none-any.whl.
File metadata
- Download URL: mkdsecrets-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22725b71f95092b0ae8e1c7ccc5ecef7ec0fc7c4cdd65eb95fe3db6fdb505361
|
|
| MD5 |
f8bb6d87c98b97d2aec0dff3d39513d1
|
|
| BLAKE2b-256 |
89da393c360418cb9fb13e0b02de72932aca829e270975f4fc0dd4cb3edac0c4
|