{"repo":"zenomt/pikchr-cmd","free":true,"listed":false,"github":"https://github.com/zenomt/pikchr-cmd","clone":"git clone https://github.com/zenomt/pikchr-cmd.git","description":"Pikchr Command-Line Tool","language":"C","stars":19,"topics":["markdown","pikchr","composable","tool"],"license":"MIT","category":"cli-tools","readme_excerpt":"Pikchr Command-Line Tool ======================== [This preprocessor tool][repo] reads text from the standard input, replacing suitably-delimited [Pikchr][] (a [PIC][]-like diagram language) diagram descriptions with inline [Scalable Vector Graphics (SVG)][SVG], and writes to the standard output. It’s [intended to be composed][Unix] with your favorite Markdown processor, but can be used standalone or with other markup languages or workflows too. This tool uses the [C reference implementation of Pikchr by Richard Hipp][DRH] which is included here for convenience (as permitted by its generous license). Markdown+Pikchr Source pikchr Preprocessor (main.c) Markdown+SVG Intermediate Any Markdown Formatter HTML+SVG Output C API Pikchr Formatter (pikchr.c) Pikchr Source GitHub doesn’t allow inline SVGs, so here’s the above diagram as an external image reference (see Example 3 below): Example 1: Pipeline $ pikchr file.html Example 2: Intermediate file $ pikchr README.md $ md2html README.html Example 3: Compile the diagram in README.md.in that is tagged with modifier “ @usage.svg ” to a separate SVG file called usage.svg $ pikchr -q -b -N @usage.svg usage.svg Delimiters ---------- A Pikchr diagram starts with a line beginning with any of the following strings without indentation : Three or more consecutive GRAVE ACCENT backtick ( &#96; ) characters, optional whitespace, the characters pikchr , and whitespace or end-of-line; for example - Three or more consecutive TILDE characters and o","default_branch":null,"files":null,"tree":[],"storefront":"/r/zenomt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zenomt/pikchr-cmd/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}