The "pikchr" command:
Usage: fossil pikchr [options] ?INFILE? ?OUTFILE?
Accepts a pikchr script as input and outputs the rendered script as an SVG graphic. The INFILE and OUTFILE options default to stdin resp. stdout, and the names "-" can be used as aliases for those streams.
Options:
- -div
- On success, add a DIV wrapper around the resulting SVG output which limits its max-width to its computed maximum ideal size
- -div-indent
- Like -div but indent the div
- -div-center
- Like -div but center the div
- -div-left
- Like -div but float the div left
- -div-right
- Like -div but float the div right
- -div-toggle
- Set the 'toggle' CSS class on the div (used by the JavaScript-side post-processor)
- -div-source
- Set the 'source' CSS class on the div, which tells CSS to hide the SVG and reveal the source by default.
- -src
- Store the input pikchr's source code in the output as a separate element adjacent to the SVG one. Implied by -div-source.
- -dark
- Change pikchr colors to assume a dark-mode theme.
The -div-indent/center/left/right flags may not be combined.