I was running brew update and saw a new item whiz by called mdserve.
This piqued my interest because I have been using Zed as my IDE for a few weeks and have been missing markdown preview that supports Mermaid diagrams.
I was particularly please to see that mdserve is a cross-platform binary with zero dependencies.
Meaning: brew install mdserve will install it without me also having to install Python or Node.js or Go or Rust or…anything!
It’s a no-brainer to use:
| |
Crack open the URL in your browser and enjoy a live updating preview of markdown that includes Mermaid diagrams.

There’s a little theme picker in the preview web page so you can pick your light or dark theme:
