md-babel-py run document.md
more information on this tool is in codeblocks
Code or Docs Links
After adding a link to a doc rundoclinks document.md
Code file references
Symbol auto-linking
Mention a symbol on the same line to auto-link to its line number:Doc-to-doc references
Use.md as the link target:
Pikchr
Pikchr is a diagram language from SQLite. Use it for flowcharts and architecture diagrams. Important: Always wrap pikchr blocks in<details> tags so the source is collapsed by default on GitHub. The rendered SVG stays visible outside the fold. Code blocks (Python, etc.) should NOT be folded—they’re meant to be read.
Basic syntax
Box sizing
Usefit with percentage scaling to auto-size boxes with padding:
fit wid 170% ht 170% means: auto-size to text, then scale width by 170% and height by 170%.
For explicit sizing (when you need consistent box sizes):
Common settings
Always start with:Branching paths
Adding labels
Reference
| Element | Syntax |
|---|---|
| Box | box "text" rad 5px wid Xin ht Yin |
| Arrow | arrow right 0.3in |
| Oval | oval "text" wid Xin ht Yin |
| Text | text "label" at (X, Y) |
| Named point | A: box ... then reference A.e, A.n, A.x, A.y |
