While I was doing it I needed to render those diagrams as ASCII and I was surprised there's no Python library for Mermaid to ASCII. So I wrote one: https://github.com/fasouto/termaid (https://termaid.com/)