Tuesday, November 25, 2014

The minimal amount of CSS to replicate the GitHub Markdown style

Use github-markdown.css to replicate the GitHub Markdown style:

1. Download CSS file.

2. Include it into your HTML code and add a markdown-body class to the styles:

<link rel="stylesheet" href="github-markdown.css">
    .markdown-body {
        min-width: 200px;
        max-width: 790px;
        margin: 0 auto;
        padding: 30px;

3. Apply markdown-body class to any container:

<body class="markdown-body">

1 comment:

  1. getEasycss i hope it may be useful for you and give feedback