# github-markdown-css > The minimal amount of CSS to replicate the GitHub Markdown style [](http://sindresorhus.com/github-markdown-css) ## [Demo](http://sindresorhus.com/github-markdown-css) ## Install Download [manually](https://raw.githubusercontent.com/sindresorhus/github-markdown-css/gh-pages/github-markdown.css), from [CDNJS](https://cdnjs.com/libraries/github-markdown-css), or with npm: ``` $ npm install github-markdown-css ``` ## 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. ```html

Unicorns

All the things

``` ## How See [`generate-github-markdown-css`](https://github.com/sindresorhus/generate-github-markdown-css) for how it's generated and ability to generate your own. ## Dev Run `npm run make` to update the CSS. ## License MIT © [Sindre Sorhus](https://sindresorhus.com)