Skip to main content

MkDocs PlantUML Local

Render Plantuml codeblocks in mkdocs without sending sensitive diagrams to a public server.

Configuration

Minimal

plugins:
  - plantuml-local
markdown_extensions:
  - pymdownx.superfences:
      custom_fences:
        - name: plantuml
          class: plantuml
          format: !!python/name:pymdownx.superfences.fence_code_format

All

plugins:
  - plantuml-local:
      # shortname is language used to identify
      # blocks to process, defaults to `plantuml`
      shortname: puml
      # background_colour sets the background
      # fill colour used, defaults to `transparent`
      background_colour: white
      # class_name is the css class to assign to the
      # rendered svg diagram, by default no class
      # name is set.
      class_name: plantuml-diagram
      # cache, when set to true, will cache rendered
      # diagrams under the folder `.cache`. Not
      # recommended for use in CI, so add `.cache`
      # to your .gitignore
      cache: true
markdown_extensions:
  - pymdownx.superfences:
      custom_fences:
        - name: puml
          class: puml
          format: !!python/name:pymdownx.superfences.fence_code_format

Licence

This MkDocs plugin is licenced under the MIT license.

Plantuml is redistributed with this package, under the GPL-3.0 license.

Metadata

Release files for mkdocs-plantuml-local 0.5.0

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-plantuml-local 0.5.0
File Size Uploaded
mkdocs_plantuml_local-0.5.0.tar.gz 11.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for mkdocs-plantuml-local 0.5.0
File Interpreter ABI Platform
mkdocs_plantuml_local-0.5.0-cp311-cp311-manylinux_2_35_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.35+ x86-64 Details

Total release size: 22.2 MB

Release files / mkdocs_plantuml_local-0.5.0.tar.gz

Download URL mkdocs_plantuml_local-0.5.0.tar.gz
Size 11.1 MB
Tags Source
SHA-256 checksum
How to use checksums
294410d46fac9c58d1eba93cc729c9c0acc48cb47cc0ec729daa24ffdcb57064
BLAKE2b-256 checksum
How to use checksums
07909dfdc2e578ce2a9e8f2fc1733df5713b1937679d0fe4b4b9a662bd11ed75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.1 CPython/3.11.8 Linux/6.5.0-1015-azure

Release files / mkdocs_plantuml_local-0.5.0-cp311-cp311-manylinux_2_35_x86_64.whl

Download URL mkdocs_plantuml_local-0.5.0-cp311-cp311-manylinux_2_35_x86_64.whl
Size 11.1 MB
Tags CPython 3.11 Linux glibc 2.35+ x86-64
SHA-256 checksum
How to use checksums
8fdd916bb65ad23a82a5d91163b755b29cd04303aba90c0fd427c6a6523131ab
BLAKE2b-256 checksum
How to use checksums
27ed4bde8518cde5f6d7f6d87293b9e4c6456b701d576392dd32ad855d1d92cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.1 CPython/3.11.8 Linux/6.5.0-1015-azure

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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