# github-markdown-css **Repository Path**: wt_cloud/github-markdown-css ## Basic Information - **Project Name**: github-markdown-css - **Description**: The minimal amount of CSS to replicate the GitHub Markdown style - **Primary Language**: CSS - **License**: MIT - **Default Branch**: gh-pages - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-07-30 - **Last Updated**: 2022-07-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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) or with npm: ``` $ npm install --save 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](http://sindresorhus.com)