Show HN: A Standalone/GitHub CLI Extension to Preview GitHub Flavored Markdown
Published on: 2025-08-22 22:27:36
gh gfm-preview
A Go program to preview GitHub Flavored Markdown (GFM) 📓.
The gh-gfm-preview command start a local web server to serve the markdown document. gh gfm-preview renders the HTML using yuin/goldmark and some extensions and frontend tricks to have similar features and look to how GitHub renders a markdown.
It may also be used as a GitHub CLI extension.
This is a hard fork of yusukebe/gh-markdown-preview, that uses the GitHub Markdown API, but this means it doesn't work offline. The code of this repository tries to emulate the look of GitHub Markdown rendering as close as possible, but the original project will be even closer to the actual result if you don't need offline rendering.
Highlights
Works offline - You don't need an internet connection.
- You don't need an internet connection. Fast - Since it doesn't rely on external services it is really fast.
- Since it doesn't rely on external services it is really fast. No-dependencies - You can just run the standalone bi
... Read full article.