Skip to main content

MkDocs IZSAM Mermaid to images

This plugin processes each page's Markdown content, finds Mermaid code blocks, converts them to images using mermaid.cli, and replaces the code blocks with image references. The image format can be specified in the mkdocs.yml configuration file.

Installation

Install dependencies:

npm install -g @mermaid-js/mermaid-cli

Install the package with pip:

pip install mkdocs-izsam-mermaid-to-images

Enable the plugin in the mkdocs.yml file:

plugins:
  - search
  - mkdocs-izsam-mermaid-to-images:
      output_dir: 'mermaid_images'
      image_format: 'svg'  # or 'png'

See how to use MkDocs Plugins

Change log

[1.0.1] - 2024-09-17

Setup bug fix and README changes

Bug fix for setup entry_points section; fix for error in configuration instructions.

[1.0] - 2024-09-17

First release

Metadata

Release files for mkdocs-izsam-mermaid-to-images 1.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-izsam-mermaid-to-images 1.1
File Size Uploaded Provenance Actions
mkdocs-izsam-mermaid-to-images-1.1.tar.gz 3.2 kB Without provenance Details for mkdocs-izsam-mermaid-to-images-1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mkdocs-izsam-mermaid-to-images 1.1
File Interpreter ABI Platform Actions
mkdocs_izsam_mermaid_to_images-1.1-py3-none-any.whl Python 3 none any Details for mkdocs_izsam_mermaid_to_images-1.1-py3-none-any.whl

Total release size: 7.4 kB

Release files / mkdocs-izsam-mermaid-to-images-1.1.tar.gz

Download URL mkdocs-izsam-mermaid-to-images-1.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b0fd97c060ec8dc11c81c0e5e2a4b2281745ff359e5de2b2bb854efde532f037
BLAKE2b-256 checksum
How to use checksums
77e88f3038f73e5a4d4c69146997365df87c3939f612e993a30dde7964809db9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.20 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

Release files / mkdocs_izsam_mermaid_to_images-1.1-py3-none-any.whl

Download URL mkdocs_izsam_mermaid_to_images-1.1-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a940f44caa09f1781ad9b7887eaf2cf31e21018b335ba0697e14360ec758614
BLAKE2b-256 checksum
How to use checksums
d33b046dd1cce3ddc1583d7297d6442580d5b1df4f037f20225e552ca0c58fa8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.20 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

Security for mkdocs-izsam-mermaid-to-images 1.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.

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