blockdiag for SuperFences
This provides blockdiag rendering for Python Markdown through the SuperFences extension.
It is based on https://github.com/gisce/markdown-blockdiag.
Install
pip install blockdiag-fences
Use
Wrap your diagram in a code block, tagged with the name of the tool to convert it:
```blockdiag
blockdiag {
A -> B -> C -> D;
A -> E -> F -> G;
}
```
MkDocs Integration
In your mkdocs.yml add this to markdown_extensions.
markdown_extensions:
- pymdownx.superfences:
custom_fences:
- name: actdiag
class: actdiag
format: !!python/name:blockdiag_fences.blockdiag.fence_img_format
- name: blockdiag
class: blockdiag
format: !!python/name:blockdiag_fences.blockdiag.fence_img_format
- name: nwdiag
class: nwdiag
format: !!python/name:blockdiag_fences.blockdiag.fence_img_format
- name: packetdiag
class: packetdiag
format: !!python/name:blockdiag_fences.blockdiag.fence_img_format
- name: rackdiag
class: rackdiag
format: !!python/name:blockdiag_fences.blockdiag.fence_img_format
- name: seqdiag
class: seqdiag
format: !!python/name:blockdiag_fences.blockdiag.fence_img_format
Metadata
Release files for blockdiag-fences 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| blockdiag-fences-0.0.3.tar.gz | 3.5 kB | Without provenance | Details for blockdiag-fences-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| blockdiag_fences-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for blockdiag_fences-0.0.3-py3-none-any.whl |
Total release size: 7.2 kB
Release files / blockdiag-fences-0.0.3.tar.gz
| Download URL | blockdiag-fences-0.0.3.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5eb9374b8bb5aa7251a94a02633c9eef29f7e3e60a6ccb32691a9c6a1298e05
|
|
BLAKE2b-256 checksum How to use checksums |
ab346958b25d41bfebe6bf4b64712b85096764790522664ce698f31f4d36b23d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.8.10 Linux/5.10.60.1-microsoft-standard-WSL2
|
Release files / blockdiag_fences-0.0.3-py3-none-any.whl
| Download URL | blockdiag_fences-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
61b7f3567d9b22748aee358d6c198f7248a4370b5f66032c7d94f19e938b7b6f
|
|
BLAKE2b-256 checksum How to use checksums |
174f414e755b28df90a67f09424620e044552c10a5132543b34ec86ad85ab39f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.8.10 Linux/5.10.60.1-microsoft-standard-WSL2
|
Security for blockdiag-fences 0.0.3
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.