Markdown Inline Graphviz
A Python Markdown extension that replaces inline Graphviz definitions with inline SVGs or PNGs!
Why render the graphs inline? No configuration! Works with any Python-Markdown-based static site generator, such as MkDocs, Pelican, and Nikola out of the box without configuring an output directory.
Installation
$ pip install markdown-inline-graphviz
Usage
Activate the inline_graphviz extension. For example, with Mkdocs, you add a stanza to mkdocs.yml:
markdown_extensions:
- inline_graphviz
To use it in your Markdown doc:
{% dot attack_plan.svg
digraph G {
rankdir=LR
Earth [peripheries=2]
Mars
Earth -> Mars
}
%}
Supported graphviz commands: dot, neato, fdp, sfdp, twopi, circo.
Credits
Inspired by jawher/markdown-dot, which renders the dot graph to a file instead of inline.
License
MIT License
Metadata
Release files for markdown-inline-graphviz 1.0
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 |
|---|---|---|---|---|
| markdown-inline-graphviz-1.0.tar.gz | 2.6 kB | Without provenance | Details for markdown-inline-graphviz-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| markdown_inline_graphviz-1.0-py2-none-any.whl | Python 2 | none | any | Details for markdown_inline_graphviz-1.0-py2-none-any.whl |
Total release size: 6.4 kB
Release files / markdown-inline-graphviz-1.0.tar.gz
| Download URL | markdown-inline-graphviz-1.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6290fdfc4c908b98e2ad2d30a6cff07a26542a2a3247db9b49b1572d91033052
|
|
BLAKE2b-256 checksum How to use checksums |
4774d97a335dcc83bede860ac4562a42124b781e68e9edfcd8218ad62245a2e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / markdown_inline_graphviz-1.0-py2-none-any.whl
| Download URL | markdown_inline_graphviz-1.0-py2-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
5c4d7f6e6db583f4679cbe13022fddcdfb68b2fe711fdfa05e2d0f99a01aad3a
|
|
BLAKE2b-256 checksum How to use checksums |
727b33ffc9612b746421cae47f5d92201f1927481bcec26c4b00620f7e26f85b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for markdown-inline-graphviz 1.0
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.