{"id":15017531,"url":"https://github.com/cesaremorel/markdown-inline-graphviz","last_synced_at":"2025-10-06T16:32:41.772Z","repository":{"id":47770762,"uuid":"190469105","full_name":"cesaremorel/markdown-inline-graphviz","owner":"cesaremorel","description":"Render inline graphs with Markdown and Graphviz","archived":false,"fork":true,"pushed_at":"2024-01-16T17:52:15.000Z","size":27,"stargazers_count":5,"open_issues_count":1,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-16T06:56:59.783Z","etag":null,"topics":["graphviz","markdown","mkdocs"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"sprin/markdown-inline-graphviz","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cesaremorel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-05T21:10:15.000Z","updated_at":"2024-06-05T22:34:39.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cesaremorel/markdown-inline-graphviz","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesaremorel%2Fmarkdown-inline-graphviz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesaremorel%2Fmarkdown-inline-graphviz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesaremorel%2Fmarkdown-inline-graphviz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesaremorel%2Fmarkdown-inline-graphviz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cesaremorel","download_url":"https://codeload.github.com/cesaremorel/markdown-inline-graphviz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235538025,"owners_count":19006071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["graphviz","markdown","mkdocs"],"created_at":"2024-09-24T19:50:37.020Z","updated_at":"2025-10-06T16:32:36.451Z","avatar_url":"https://github.com/cesaremorel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Markdown Inline Graphviz (for Python 3)\n=======================================\n\nThis is just a continuation of the great job of Steffen Prince in [sprin/markdown-inline-graphviz](https://github.com/sprin/markdown-inline-graphviz), \nin order to get it work with pip3. If you use python 2, please use the original extension instead.\n\nA Python Markdown extension that replaces inline Graphviz definitions with\ninline SVGs or PNGs!\n\nWhy render the graphs inline? No configuration! Works with any\nPython-Markdown-based static site generator, suche originas\n[MkDocs](http://www.mkdocs.org/), [Pelican](http://blog.getpelican.com/), and\n[Nikola](https://getnikola.com/) out of the box without configuring an output\ndirectory.\n\n# Installation\n\n    $ pip3 install markdown_inline_graphviz_extension --user\n\n# Usage\n\nActivate the `markdown_inline_graphviz` extension. For example, with Mkdocs, you add a\nstanza to mkdocs.yml:\n\n```yaml\nmarkdown_extensions:\n    - markdown_inline_graphviz\n```\n\nTo use it in your Markdown doc, with SVG output:\n\n    ```graphviz dot attack_plan.svg\n    digraph G {\n        rankdir=LR\n        Earth [peripheries=2]\n        Mars\n        Earth -\u003e Mars\n    }\n    ```\n\nor with PNG:\n\n    ```graphviz dot attack_plan.png\n    digraph G {\n        rankdir=LR\n        Earth [peripheries=2]\n        Mars\n        Earth -\u003e Mars\n    }\n    ```\n\nAlternatively you can still using `{%` legacy notation but its not recommended.\n\n```\n{% dot attack_plan.svg\n    digraph G {\n        rankdir=LR\n        Earth [peripheries=2]\n        Mars\n        Earth -\u003e Mars\n    }\n%}\n```\n\nSupported graphviz commands: dot, neato, fdp, sfdp, twopi, circo.\n\n# Credits\n\nInspired by [jawher/markdown-dot](https://github.com/jawher/markdown-dot),\nwhich renders the dot graph to a file instead of inline.\n\nForked from [sprin/markdown-inline-graphviz](https://github.com/sprin/markdown-inline-graphviz)\n\n\n# License\n\n[MIT License](http://www.opensource.org/licenses/mit-license.php)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesaremorel%2Fmarkdown-inline-graphviz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcesaremorel%2Fmarkdown-inline-graphviz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesaremorel%2Fmarkdown-inline-graphviz/lists"}