Skip to main content

Mkdocs Mask Plugin

A MkDocs plugin that adds a custom !mask[...] syntax to hide text behind a black box until hovered.

Install

pip install mkdocs-mask-plugin

Build and Release

Usage

1. Enable the Plugin

In your mkdocs.yml configuration file, add the plugin:

plugins:
  - mask

2. Use the !mask[...] Syntax in Markdown

In any Markdown (.md) file, wrap the sensitive or hidden text using the !mask[...] syntax:

Do not reveal this unless you're ready: !mask[This is a hidden message].

This will render as a black box that hides the text until the user hovers over it.


3. Resulting Behavior

The masked content will appear as a blacked-out block like this:

Do not reveal this unless you're ready: ██████████████████

When the user hovers their mouse over it, the black box fades away and the original text is revealed with a smooth transition.

Metadata

Release files for mkdocs-mask-plugin 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mkdocs-mask-plugin 0.1
File Size Uploaded Provenance Actions
mkdocs_mask_plugin-0.1.tar.gz 3.6 kB Without provenance Details for mkdocs_mask_plugin-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mkdocs-mask-plugin 0.1
File Interpreter ABI Platform Actions
mkdocs_mask_plugin-0.1-py3-none-any.whl Python 3 none any Details for mkdocs_mask_plugin-0.1-py3-none-any.whl

Total release size: 7.5 kB

Release files / mkdocs_mask_plugin-0.1.tar.gz

Download URL mkdocs_mask_plugin-0.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b6632b2a74dc189973cc82e1f2c088d92491ebb61dfbe67902abacbca4b77363
BLAKE2b-256 checksum
How to use checksums
d2b1099c3a463528c7aefabbb6965f0167073614606b55f6dd932e43681c18bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / mkdocs_mask_plugin-0.1-py3-none-any.whl

Download URL mkdocs_mask_plugin-0.1-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1dd26f4992ba48dd95fff2c9fb2a489437a93a2343989402b8b6266edc1a959a
BLAKE2b-256 checksum
How to use checksums
b2e09018439cb44df9607f3cd1758d38198cf1d7a89032226efeb21356462277
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Security for mkdocs-mask-plugin 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page