Mermaid viewer that actually works in your terminal
Install with Homebrew
brew install tawago/tap/mercatThen, in Claude Code
/plugin install mercat --marketplace tawago/mercatInstall with Homebrew
brew install tawago/tap/mercatThen, in Claude Code
/plugin install mercat --marketplace tawago/mercatPaste Mermaid, or pick an example. Drag the terminal’s right edge to change its width; mercat redraws to fit, just like mercat -w 80.
Loading mercat…
Same source, same 80-column terminal (the dashed line). mermaid-ascii and termaid get the same width limit as mercat; beautiful-mermaid has no width option, so it draws at its natural size.
Loading mermaid-ascii…
Loading beautiful-mermaid…
Loading termaid…