@maaamahahh/pi-math-sixel
Render LaTeX math formulas as Sixel images in Pi TUI for Windows Terminal and Sixel-capable terminals
Package details
Install @maaamahahh/pi-math-sixel from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@maaamahahh/pi-math-sixel- Package
@maaamahahh/pi-math-sixel- Version
1.0.0- Published
- Sep 21, 2026
- Downloads
- 231/mo · 10/wk
- Author
- maaamahahh
- License
- Unlicense
- Types
- extension
- Size
- 23.6 KB
- Dependencies
- 2 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-math-sixel
A Pi extension that renders LaTeX display formulas as transparent Sixel graphics. Works in Windows Terminal and other Sixel-capable terminals.
Formulas are typeset with MathJax and rasterized via Resvg, matching the current theme text color.
Installation
pi install npm:@maaamahahh/pi-math-sixel
or from a local clone:
pi install ./pi-math-sixel
Configuration
Set PI_MATH_SIXEL_ALIGN=center to center formulas (defaults to left, matching Pi message padding).