Ghore is a simple cli tool to preview markdown files like they would appear on Github. It doesn't rely on Github's API and can be used completely offline. It also supports live preview of mermaid code blocks (Github's API doesn't process mermaid codeblocks).
This package completely rely on the github API and doesn’t support mermaid code blocks, where as ghore is completely offline tool doesn’t rely on github api and supports mermaid code blocks.
https://github.com/joeyespo/grip