github-markdown-css

by sindresorhus · Web

The minimal amount of CSS to replicate the GitHub Markdown style

New0 ratings8,927 starsActive
WebDeveloper ToolCSSHTML
Open project ↗↓ Download v5.9.0GitHub⚑ Report
github-markdown-css preview

About this project

github-markdown-css The minimal amount of CSS to replicate the GitHub Markdown style The CSS is generated. Contributions should go to this repo. Demo Install Download manually, from CDNJS, or with npm: Usage Import the github-markdown.css file and add a markdown-body class to the container of your rendered Markdown and set a width for it. GitHub uses 980px width and 45px padding, and 15px padding for mobile. You can use GitHub's /markdown API to turn Markdown into the HTML that GitHub generates, which works well with the CSS in this repo. Other Markdown parsers will mostly work with these styles too. To mimic how GitHub highlights code, you can use starry-night with your…

Technologies

HTMLCSS

Project health

Low recent activity
Last update6 months ago
Contributors13
Latest releasev5.9.0
Open issues & PRs1
LicenseMIT
On GitHubsince 2014

GitHub

8,927
stars
2,082
forks
13
contributors
1
open issues & PRs
CSS
language
6 months ago
last commit
View on GitHub ↗All releases ↗

Reviews

out of 5 · 0 ratings
★★★★★
0%
★★★★
0%
★★★
0%
★★
0%
0%
Sign in to write a review
No reviews yet
Be the first to review github-markdown-css.

Built by

sindresorhus
Imported from GitHub · not yet claimed on GitPalace
View developer pageSign in with GitHub to claim

Maintain sindresorhus/github-markdown-css? Claiming verifies admin access through your GitHub account and gives you control of this listing.

You might also like