Open bugsbugsbux opened 1 year ago
Thank you for the suggestion! I don't have much time to devote to this these days, but I'm happy to review pull requests.
Unfortunately current framework assumes that renderer command is returned as shell text that writes output to file
That is, there is no output capture, so you would need a wrapper script that redirects it.
It is possible to support pikchr
with a shim shell script, but I will wait for #61 to be accepted first.
Please support pikchr diagrams!
You can install pikchr by downloading the .c file from https://pikchr.org/home/file/pikchr.c?ci=trunk (always gives latest version) and compiling it with
gcc -DPIKCHR_SHELL -o pikchr pikchr.c -lm
.Example script:
compile like so:
./pikchr --svg-only file.pik >file.svg
orcat file.pik | ./pikchr --svg-only - > file.svg
You can find more examples at https://pikchr.org/home/doc/trunk/doc/examples.md.
kind regards