Skip to main content

Append some string to a MkDocs page's <head>.

Project description

mk-append-to-head

Append some string to a MkDocs page's <head>.

Installation

pip install mk-append-to-head

Configuration

In MkDocs configuration file:

plugins:
- mk-append-to-head:
    append_str: <script>console.log(1)</script>
    pages: ['Home'] # optional

Leaving pages empty will append the append_str to all pages.

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

mk_append_to_head-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

mk_append_to_head-0.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file mk_append_to_head-0.0.1.tar.gz.

File metadata

  • Download URL: mk_append_to_head-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for mk_append_to_head-0.0.1.tar.gz
Algorithm Hash digest
SHA256 76021a12091f1327d1bc7fa9d99142e26618661d3792e973103f19afa09812fc
MD5 841b9e5ad62690986ec93ce5cc6be749
BLAKE2b-256 a357e14bcaa1ed57d27863010f07c85e1706a8609cd0efde13f646e99621c074

See more details on using hashes here.

File details

Details for the file mk_append_to_head-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mk_append_to_head-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 93885ac2a9c7d67f0ffce846befc311f140562bd955c3175c287573d3860ddd9
MD5 ca7e18c676353e7bc184e28ffc712731
BLAKE2b-256 6fe8c1395bd84db1b410f1c897ff946a1840d12611c6a7c95278a39917895cb0

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