{"id":15563973,"url":"https://github.com/mbarkhau/markdown-aafigure","last_synced_at":"2025-09-11T11:30:39.816Z","repository":{"id":141847871,"uuid":"134624265","full_name":"mbarkhau/markdown-aafigure","owner":"mbarkhau","description":"aafigure extension for Python Markdown","archived":false,"fork":false,"pushed_at":"2024-05-04T00:33:24.000Z","size":189,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-11T07:29:01.693Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mbarkhau.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-23T20:52:31.000Z","updated_at":"2024-09-06T09:57:17.000Z","dependencies_parsed_at":"2024-05-04T00:26:07.911Z","dependency_job_id":"941b2eef-a950-47b5-aa5c-311c3a09fc91","html_url":"https://github.com/mbarkhau/markdown-aafigure","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mbarkhau/markdown-aafigure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbarkhau%2Fmarkdown-aafigure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbarkhau%2Fmarkdown-aafigure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbarkhau%2Fmarkdown-aafigure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbarkhau%2Fmarkdown-aafigure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbarkhau","download_url":"https://codeload.github.com/mbarkhau/markdown-aafigure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbarkhau%2Fmarkdown-aafigure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274624689,"owners_count":25319702,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-02T16:33:08.371Z","updated_at":"2025-09-11T11:30:39.470Z","avatar_url":"https://github.com/mbarkhau.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"logo\" src=\"https://gitlab.com/mbarkhau/markdown_aafigure/-/raw/master/logo.png\"\u003e\n\u003c/p\u003e\n\u003c/div\u003e\n\n\n# [Markdown aafigure][repo_ref]\n\nThis is an extension for [Python Markdown](https://python-markdown.github.io/)\nwhich renders diagrams using [aafigure](https://aafigure.readthedocs.io/).\n\nProject/Repo:\n\n[![MIT License][license_img]][license_ref]\n[![Supported Python Versions][pyversions_img]][pyversions_ref]\n[![CalVer v202405.1012][version_img]][version_ref]\n[![PyPI Version][pypi_img]][pypi_ref]\n[![PyPI Downloads][downloads_img]][downloads_ref]\n\nCode Quality/CI:\n\n[![GitHub CI Status][github_build_img]][github_build_ref]\n[![GitLab CI Status][gitlab_build_img]][gitlab_build_ref]\n[![Type Checked with mypy][mypy_img]][mypy_ref]\n[![Code Coverage][codecov_img]][codecov_ref]\n[![Code Style: sjfmt][style_img]][style_ref]\n\n\n|                 Name                |        role       |  since  | until |\n|-------------------------------------|-------------------|---------|-------|\n| Manuel Barkhau (mbarkhau@gmail.com) | author/maintainer | 2018-05 | -     |\n\n\n*INFO*: You may want to consider using the [markdown-svgbob](https://pypi.org/project/markdown-svgbob/) extension instead of this one. svgbob has an [online editor](https://ivanceras.github.io/svgbob-editor/) and supports a wider range of shapes and diagrams. Its main disadvantage is that it \"only\" has builtin support for x86_64 on Windows, Linux and Mac, in contrast to aafigure which is pure python and supported everywhere.\n\n\n## Install\n\n```bash\n$ pip install markdown-aafigure\n$ pip install Pillow    # only if you want to render as png\n```\n\n\n## Use\n\nIn your markdown text you can define the block:\n\n    ```aafigure\n          +-----+   ^\n          |     |   |\n      ---\u003e+     +---o---\u003e\n          |     |   |\n          +-----+   V\n    ```\n\nParameters can be set for individual figures.\n[Availabale parameters](https://aafigure.readthedocs.io/en/latest/sphinxext.html#options)\n\n    ```aafigure {\"foreground\": \"#ff0000\"}\n          +-----+   ^\n          |     |   |\n      ---\u003e+     +---o---\u003e\n          |     |   |\n          +-----+   V\n    ```\n\n\n## Development/Testing\n\n```bash\n$ git clone https://gitlab.com/mbarkhau/markdown_aafigure\n$ cd markdown_aafigure\n$ make install\n$ make lint mypy test\n```\n\n\n## MkDocs Integration\n\nIn your `mkdocs.yml` add this to markdown_extensions.\n\n```yaml\nmarkdown_extensions:\n  - markdown_aafigure:\n      tag_type: inline_svg\n```\n\nValid options for `tag_type` are `inline_svg` (the default), `img_utf8_svg`, `img_base64_svg`, `img_base64_png`.\n\n\n[repo_ref]: https://gitlab.com/mbarkhau/markdown_aafigure\n\n[github_build_img]: https://github.com/mbarkhau/markdown-aafigure/workflows/CI/badge.svg\n[github_build_ref]: https://github.com/mbarkhau/markdown-aafigure/actions?query=workflow%3ACI\n\n[gitlab_build_img]: https://gitlab.com/mbarkhau/markdown_aafigure/badges/master/pipeline.svg\n[gitlab_build_ref]: https://gitlab.com/mbarkhau/markdown_aafigure/pipelines\n\n[codecov_img]: https://gitlab.com/mbarkhau/markdown_aafigure/badges/master/coverage.svg\n[codecov_ref]: https://mbarkhau.gitlab.io/markdown_aafigure/cov\n\n[license_img]: https://img.shields.io/badge/License-MIT-blue.svg\n[license_ref]: https://gitlab.com/mbarkhau/markdown_aafigure/blob/master/LICENSE\n\n[mypy_img]: https://img.shields.io/badge/mypy-checked-green.svg\n[mypy_ref]: https://mbarkhau.gitlab.io/markdown_aafigure/mypycov\n\n[style_img]: https://img.shields.io/badge/code%20style-%20sjfmt-f71.svg\n[style_ref]: https://gitlab.com/mbarkhau/straitjacket/\n\n[pypi_img]: https://img.shields.io/badge/PyPI-wheels-green.svg\n[pypi_ref]: https://pypi.org/project/markdown_aafigure/#files\n\n[downloads_img]: https://pepy.tech/badge/markdown-aafigure/month\n[downloads_ref]: https://pepy.tech/project/markdown-aafigure\n\n[version_img]: https://img.shields.io/static/v1.svg?label=CalVer\u0026message=v202405.1012\u0026color=blue\n[version_ref]: https://pypi.org/project/bumpver/\n\n[pyversions_img]: https://img.shields.io/pypi/pyversions/markdown_aafigure.svg\n[pyversions_ref]: https://pypi.python.org/pypi/markdown_aafigure\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbarkhau%2Fmarkdown-aafigure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbarkhau%2Fmarkdown-aafigure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbarkhau%2Fmarkdown-aafigure/lists"}