markdown-rendering
Installation
SKILL.md
Markdown Rendering
Convert any markdown file to a styled, self-contained HTML document and open it in the default browser.
Quick render (existing file)
nix run nixpkgs#pandoc -- \
--from=markdown-implicit_figures --to=html --embed-resources --standalone \
--css="$HOME/.pi/agent/skills/knowledge/markdown-rendering/assets/style.css" \
input.md -o output.html && xdg-open output.html
Quick render (piped stdin — no temp file)
Pandoc accepts - as the input filename to read from stdin. Use this when generating markdown on the fly: