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.

Installation

pip install git+https://github.com/TheMaverickProgrammer/python-markdown-secrets.git

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.1.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.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

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

Hashes for mkdsecrets-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e6672294df230b21dbad0ba87673ca0720a5684aaee0c7c030b4008747a26368
MD5 8faef443c607dc92289747b37d720857
BLAKE2b-256 e849792501c8d5453993f3ea775a6e7cb3c6ca345df6415ac3eeeb4d0cc728a2

See more details on using hashes here.

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

Hashes for mkdsecrets-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 22725b71f95092b0ae8e1c7ccc5ecef7ec0fc7c4cdd65eb95fe3db6fdb505361
MD5 f8bb6d87c98b97d2aec0dff3d39513d1
BLAKE2b-256 89da393c360418cb9fb13e0b02de72932aca829e270975f4fc0dd4cb3edac0c4

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