{"repo":"thiagokokada/gh-gfm-preview","free":true,"listed":false,"github":"https://github.com/thiagokokada/gh-gfm-preview","clone":"git clone https://github.com/thiagokokada/gh-gfm-preview.git","description":"A standalone/GitHub CLI extension to preview GitHub Flavored Markdown, even offline.","language":"Go","stars":96,"topics":["gh-extension","go","markdown","golang","cli"],"license":"MIT","category":"cli-tools","readme_excerpt":"gh gfm-preview A Go program to preview GitHub Flavored Markdown (GFM) :notebook:. The gh-gfm-preview command starts a local web server that serves the Markdown document. gh gfm-preview renders HTML using yuin/goldmark, extensions, and frontend tricks to provide features and an appearance similar to GitHub's Markdown rendering. It may also be used as a GitHub CLI extension. This is a hard fork of yusukebe/gh-markdown-preview, which uses the GitHub Markdown API and therefore does not work offline. This repository aims to emulate GitHub's Markdown rendering as closely as possible, but the original project produces a closer match when offline rendering is not required. Screenshots Open your browser: Live reloading: https://github.com/user-attachments/assets/0219ac01-71d3-4568-bff4-c9de092ca4e3 Highlights - Works offline - You don't need an internet connection to use most features. - Fast - Since it doesn't rely on external services, it is very fast. - No dependencies - You can just run the standalone binary (or optionally via gh as an extension). - Zero-configuration - You don't have to set the GitHub access token. - Live reloading - You don't need to reload the browser. - Auto open browser - Your browser will be opened automatically. - Automatic port selection - You don't need to find an available port when using the default. - Graceful degradation - Basic functionality works even without JavaScript. Supported GFM features Feature Supported Available Offline Needs JavaScript Not","default_branch":null,"files":null,"tree":[],"storefront":"/r/thiagokokada","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/thiagokokada/gh-gfm-preview/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}