aafigure extension for Python Markdown
Project description
Markdown aafigure
This is an extension for Python Markdown which can render diagrams using aafigure.
Project/Repo:
Code Quality/CI:
Name | role | since | until |
---|---|---|---|
Manuel Barkhau (mbarkhau@gmail.com) | author/maintainer | 2018-05 | - |
Install
$ pip install markdown-aafigure
$ pip install Pillow # only for any format other than svg
Use
In your markdown text you can define the block:
```aafigure
+-----+ ^
| | |
--->+ +---o--->
| | |
+-----+ V
```
Parameters can be set for individual figures. Availabale parameters
```aafigure {"foreground": "#ff0000"}
+-----+ ^
| | |
--->+ +---o--->
| | |
+-----+ V
```
Testing
$ cd markdown-aafigure
$ make install
$ make lint mypy test
MkDocs Integration
In your mkdocs.yml
add this to markdown_extensions.
markdown_extensions:
- markdown_aafigure:
format: svg
Changelog for https://gitlab.com/mbarkhau/markdown_aafigure
v201904.0003
- Fix #3: escape xml in image data uri
- Fix: cleanup debug output
- Change: Move to gitlab.com/mbarkhau/markdown-aafigure
- Change: Switch to pycalver
- Change: Project packaging updates
0.2.0 (2018-05-28)
- Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for markdown_aafigure-201904.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20eba377a6a8a416e3a3f8bae52924c2d8d52e97e920840a00386b4a25e64582 |
|
MD5 | 793cc4cc647af8c86822cf2c1ac81827 |
|
BLAKE2b-256 | 506cdbb4bb0d2e74cf29a3ce3276484414e67b67d8c39fdb9fc42eaa08b2bb4b |
Close
Hashes for markdown_aafigure-201904.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dcaf42c9a5f7c83b4e75edd9b64d29073b8d688fa6adf5c7589a81fc86adf26 |
|
MD5 | 7ec674165e70d3851d97b25077875a30 |
|
BLAKE2b-256 | 735adecca43a943c1a9369eb10176f9ad35e9ad4f5a33f28b09e00d6896b3953 |