summaryrefslogtreecommitdiff
path: root/justfile
Commit message (Collapse)AuthorAgeFilesLines
* chore(justfile): add sixel test recipescashmere2026-04-261-0/+49
| | | | | | | | | | | | | | | After rebasing onto master (which now carries the justfile from #8), add recipes for the new configurable encoder + timeout work: - `sixel-encoder' prints what `kitty-gfx--sixel-resolve-encoder' picks. - `sixel-encode [ENCODER]' encodes tests/test-image.png headlessly and reports payload size; pass an encoder name to force a specific binary (e.g. `just sixel-encode img2sixel'). - `sixel-timeout-test' verifies the watchdog kills a `sleep 60' fake encoder within `kitty-gfx-sixel-encoder-timeout' seconds. - `test-sixel-image [ENCODER]' opens tests/test-image.png in Emacs with the Sixel backend forced, for manual rendering checks in foot/Konsole/ mintty/mlterm/WezTerm.
* feat: add typst inline equation previewcashmere2026-04-261-0/+103
Mirrors the existing LaTeX fragment integration but uses the `typst` CLI to compile `$...$' math fragments into PNGs that are then displayed inline through the existing kitty-graphics overlay pipeline. - New section in kitty-graphics.el: customs (typst-command, ppi, text-size, preamble), SHA-1 cached PNGs under /tmp/kitty-gfx-typst, Emacs face-foreground -> typst rgb() hex conversion. - Two autoloaded commands: `kitty-gfx-typst-preview' and `kitty-gfx-typst-clear-preview', region-aware. - Regex skips backslash-escaped dollars (\\$not math\\$). - justfile with recipes: compile/lint/load + per-feature test-* and headless typst-render / typst-show. - tests/test-typst.typ fixture with inline, display, mixed and edge-case fragments. - AGENTS.md updated: test instructions, dependency note, issue marked done. Closes #7. Parent #5.