Skip to main content

Simple in-place embedded hash linking for mkdocs.

Project description

mkdselfhash

A Python-Markdown preprocessor extension that creates in-place links to be shared with others.

Transforms {#str} into <a href="#str" class="mkdselfhash">str</a><span id="str"/>.

For empty anchor elements use {-#str} notation.

View this package on PyPi.

Installation

pip install mkdselfhash

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

mkdselfhash-0.0.5.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.

mkdselfhash-0.0.5-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file mkdselfhash-0.0.5.tar.gz.

File metadata

  • Download URL: mkdselfhash-0.0.5.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 mkdselfhash-0.0.5.tar.gz
Algorithm Hash digest
SHA256 5a5106c6727d225ac8a97f3fe901195a3e0d8a9a513de3b5ba558b17c6d276a7
MD5 bdf2933b0484520ad287f2678acc95c2
BLAKE2b-256 c18cb772938a024e3482115e76e0222776a5a9cb4d23550fb3436093699a98bf

See more details on using hashes here.

File details

Details for the file mkdselfhash-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: mkdselfhash-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for mkdselfhash-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7b33a5319beb035701beeae6ed9681099ecbf904170f60bc3532cc3a0acf75d1
MD5 1ebc73e6a4d71d49b2c4c6e716795441
BLAKE2b-256 9fcaeb95c9f0d537af7b1a72a3a7a099de4f8d6df3331a3db8539501ed499281

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