Skip to main content

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.

View this package on PyPi.

Installation

pip install mkdsecrets

Testing

  1. Install pytest via pip install pytest.
  2. Enter the test directory.
  3. Run python -m pytest.

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

mkdsecrets-0.0.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdsecrets-0.0.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file mkdsecrets-0.0.2.tar.gz.

File metadata

  • Download URL: mkdsecrets-0.0.2.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

Hashes for mkdsecrets-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3d1541b7a6aff4f5fc15633d206c3075396143a39557b6d637f8f1bca92726d5
MD5 b0a2b1b8cdfa662a5b0d4c5eb94dd0ee
BLAKE2b-256 5f14c8d4a82a4d04eff08dfd57b93b7a120d5d730653a753bd4797c6aa07c274

See more details on using hashes here.

File details

Details for the file mkdsecrets-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: mkdsecrets-0.0.2-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

Hashes for mkdsecrets-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 198e1c93625d7bf8c0461e6142728a81c3c506671834db45d6b116dbde7fd257
MD5 bf789eae840c2405e68ac9a4952ef2d8
BLAKE2b-256 d342a5142c6fd1aa2b2bff810e39395695c1dd2b8d66cc297cc6da2d6f8775b5

See more details on using hashes here.

Supported by

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