pandoc filters to render svgbob diagrams
Project description
pandoc-svgbob-filter
Pandoc filter to render svgbob
Requirements
This filter requires svgbob
and rsvg-convert
in $PATH
Install
install by pip-git:
$ pip3 install git+https://github.com/pandocker/pandoc-svgbob-filter.git
Samples
[Example](bob.bob){.svgbob font-family="Source Code Pro" font-size=14 stroke-width=2 scale=3}
Example{.svgbob}
Options
Option | Description | default value |
---|---|---|
font-family |
Text will be rendered with this font | "Arial" |
font-size |
text will be rendered with this font size | 14 |
scale |
scale the entire svg (dimensions, font size, stroke width) by this factor | 1 |
stroke-width |
stroke width for all lines | 2 |
Usage example
pandoc README.md -F pandoc-svgbob-filter -o README.html
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
pandoc_svgbob_filter-0.0.2.tar.gz
(671.4 kB
view hashes)
Close
Hashes for pandoc_svgbob_filter-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfcd377eab61e03e9a092333bb0d31453c3010e8d74213beeda0b2e46f29d0e8 |
|
MD5 | 7c11fb319b03dae1b7556d2d5e0dee68 |
|
BLAKE2b-256 | 9740cd32cf14807a4351403ef67b2889dc25cf3c21f4025d25d6094cf1b869d6 |