github-markdown-css
The minimal amount of CSS to replicate the GitHub Markdown style
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
Project health
GitHub
Reviews
Built by
Maintain sindresorhus/github-markdown-css? Claiming verifies admin access through your GitHub account and gives you control of this listing.
