GitHub Pages demo surface

Actual ANSI captures from Pi for explicit-marker basics, generic EOF basics, verbose inline-format examples, and a raw multiline Bash tool call proof across all four shipped languages

This page is built from actual ANSI captures of Pi rendering deterministic shipped samples for Python, JavaScript, TypeScript, and Bash, plus a dedicated raw multiline Bash proof that uses no heredoc opener at all. Each language includes a basic explicit-marker example, a basic generic-EOF example, and a longer verbose variant selectable from a dropdown, while the extra Bash panel shows the newer default-Bash highlighting path directly. It remains a demo surface only: authoritative proof stays in repo-local regressions, validation runs, and tmux smoke evidence.

Actual ANSI capture
4 shipped languages
3 variants per language
Raw Bash no-heredoc proof
Presentation, not proof
pi · inline-format demo package loaded
repo: Banon-Labs/pi-inline-format-extensions
Raw multiline Bash tool call (no heredoc) actual ANSI capture from Pi · interactive ! bash path · no heredoc opener
Why it matters The command body has no heredoc opener, but the tool row still renders it as Bash by default.

 $ set -euo pipefail
 printf "%s\n" "$HOME"
 if [[ -d src ]]; then
   echo "src exists"
 fi

 /home/choza

 Took 0.0s
Python actual ANSI capture from Pi
Explicit marker example actual ANSI capture from Pi · source: repo sample + deterministic compare path
 Use bash to run python from a heredoc with python3. Use PY as the heredoc delimiter exactly. Keep the transcript inline and normal.



 $ python3 <<'PY'
 #!/usr/bin/env python3

 def main() -> None:
     print("hello from py")

 if __name__ == "__main__":
     main()
 PY

 hello from py

 Took 0.1s
JavaScript actual ANSI capture from Pi
Explicit marker example actual ANSI capture from Pi · source: repo sample + deterministic compare path
 Use bash to run javascript from a heredoc with node. Use JS as the heredoc delimiter exactly. Keep the transcript inline and normal.



 $ node <<'JS'
 const value = 42;
 console.log("hello from js", value);
 JS

 hello from js 42

 Took 1.2s
TypeScript actual ANSI capture from Pi
Explicit marker example actual ANSI capture from Pi · source: repo sample + deterministic compare path
 Use bash to run typescript from a heredoc with npx tsx. Use TS as the heredoc delimiter exactly. Keep the transcript inline and normal.



 $ npx tsx <<'TS'
 type Answer = {
   value: number;
 };

 const answer: Answer = { value: 42 };
 console.log("hello from ts", answer.value);
 TS

 hello from ts 42

 Took 1.3s
Bash actual ANSI capture from Pi
Explicit marker example actual ANSI capture from Pi · source: repo sample + deterministic compare path
 Use bash to run shell from a heredoc with bash. Use SH as the heredoc delimiter exactly. Keep the transcript inline and normal.



 $ bash <<'SH'
 set -euo pipefail
 echo "hello from sh"
 SH

 hello from sh

 Took 0.0s

Caption: every transcript variant above — including the raw multiline Bash proof with no heredoc opener — is derived from an actual ANSI capture collected from Pi running in tmux; the outer page frame is presentation chrome, not a literal full-screen Pi screenshot. Method sources: capture + ANSI-to-HTML generator, explicit + EOF + verbose sample source definitions, deterministic scenario registration, extension sample command usage, Pages publish workflow

render source: actual Pi ANSI captures proof source: repo tests + tmux evidence