A major mode for the pikchr diagram markup language.
- Syntax highlighting
- Interactive preview:
C-c C-c
will preview the current region or the current buffer;C-u C-c C-c
will preview the current buffer up to and including the current line. - Evaluating Org code blocks:
#+begin_src pikchr :file example.svg A: box "head" fit B: box "tail" fit C: box "something" with .sw at A.nw fit wid dist(A.w, B.e) #+end_src
Pikchr uses heuristics to place text. The default font family and size chosen by Emacs to render the interactive preview might be different from that used by a browser and the alignment might be off (see screenshot above).