@s1m0n38/pi-html
Convert agent markdown output to beautiful self-contained HTML
Package details
Install @s1m0n38/pi-html from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@s1m0n38/pi-html- Package
@s1m0n38/pi-html- Version
1.0.0- Published
- May 17, 2026
- Downloads
- not available
- Author
- s1m0n38
- License
- MIT
- Types
- extension
- Size
- 9.3 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./extensions"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-html
Convert your agent's markdown output to beautiful, self-contained HTML files.
Install
pi install @s1m0n38/pi-html
Usage
Type /html in the pi agent TUI to convert all markdown documents from the current session into HTML and open them in your browser.
Add refinements after the command:
/html use a dark theme
/html simplify the explanations, focus on diagrams
/html only the implementation plan
How it works
- Scans the session for markdown files written by the agent and substantial assistant explanations
- Sends a structured prompt to the LLM with the extracted content
- The LLM generates self-contained HTML files in a temp directory
- Files are opened in your default browser
Uninstall
pi uninstall @s1m0n38/pi-html