A Glow-like Markdown CLI with Mermaid rendering for iTerm2/Kitty and PDF output.
# Render Markdown to ANSI output
./glowm README.md
# Read from STDIN
cat README.md | ./glowm -
# Export Mermaid diagrams to PDF
./glowm --pdf README.md > diagram.pdf-wWord wrap width-sStyle name (dark/light/notty/auto) or JSON style path-pPage output--pdfExport Mermaid diagrams to PDF via stdout
- Go
- Chrome/Chromium (required for Mermaid rendering and PDF export)
- iTerm2 / Kitty: Mermaid diagrams are rendered inline as images
- Other terminals: Mermaid blocks are shown as code
brew tap atani/tap
brew install glowm