GitHub Flavored MarkdownMake VS Code Markdown Preview match GitHub as closely as possible.
Why This ProjectVS Code's built-in Markdown Preview is a general-purpose renderer, but what developers actually care about is how their documentation will look once it lands on GitHub. This project is not trying to create a GitHub-like theme. Its goal is to align VS Code preview output with GitHub's Markdown preview behavior and presentation as closely as possible. That makes README writing, docs authoring, and general Markdown editing much more predictable: developers can edit and preview locally while seeing something close to the final result they expect on GitHub, instead of discovering layout or rendering mismatches only after pushing. This project focuses on three practical outcomes:
FeaturesGitHub-Flavored Markdown
Pixel-Verified Preview ParityAutomated Chromium checks compare GitHub reference rendering with the extension preview pixel by pixel. Controllable Markdown fixtures use zero tolerance, so changes to spacing, typography, colors, link decoration, or content dimensions fail the regression check. VS Code syntax highlighting and GitHub client-side renderers for Mermaid, GeoJSON, STL, and math use separate regression budgets because the host applications produce those visuals. These boundaries remain measured and fail when their differences exceed the recorded limits. GitHub Themes9 built-in GitHub themes, covering light, dark, dimmed, high contrast, and colorblind-friendly variants:
Two theme modes:
Switch themes anytime via VS Code commands (Quick Pick) — no need to open settings. Mermaid DiagramsWhen AccessibilityText-block links are underlined by default, matching GitHub's default accessibility setting. Set Related InformationContributingSee CONTRIBUTING.md for development setup and guidelines. LicenseThis project is licensed under the terms of the MIT open source license. |