# sindresorhus/github-markdown-css

The minimal amount of CSS to replicate the GitHub Markdown style

Repository: https://github.com/sindresorhus/github-markdown-css
Canonical: https://ross.abutalabs.com/products/github-markdown-css
Homepage: https://sindresorhus.com/github-markdown-css
Language: CSS
License: MIT
License Family: permissive
Last push: 2026-02-16T07:28:31+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 67, release rhythm 57, longevity 100
- inputs: {"age_days": 4501, "days_push": 198, "days_rel": 211, "gap_med": 50, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8920, forks 2083 (observed 2026-08-28T04:10:26.296813+00:00)

## What it is
A CSS stylesheet that replicates GitHub's Markdown rendering style with minimal code. It provides seven themes including automatic light/dark switching and colorblind-friendly variants.

## Use cases
- style rendered markdown to look like github
- add github-style css to my blog
- render markdown files with github styling in a web page
- dark mode markdown stylesheet
- make my documentation look like github readme

## When to choose
- you want your rendered Markdown to look exactly like GitHub's
- you need light/dark theme support out of the box
- you want a lightweight, drop-in CSS file with no JavaScript

## When to avoid
- you need a full Markdown editor or parser (this is styling only)
- you want a customizable design system rather than GitHub's fixed look
- you need styling for non-Markdown HTML content

## Facets
- artifact type: library
- maturity: stable
- function: css-framework, ui-components, markdown
- domain: web-development, frontend, documentation
- platform: browser
- tags: markdown-styling, github-style, dark-mode, themes, css, web-server, nodejs

## Member repositories
- sindresorhus/github-markdown-css (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:26.296813+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:24:33.295726+00:00, confidence not recorded.
  - readme: https://github.com/sindresorhus/github-markdown-css (fetched 2026-08-28T04:10:26.296813+00:00, sha ff8fe8a7c583)
  - homepage: https://sindresorhus.com/github-markdown-css (fetched 2026-08-29T08:24:47.561633+00:00, sha e38a23e08db0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
