# Primer CSS Markdown [![npm version](http://img.shields.io/npm/v/primer-markdown.svg)](https://www.npmjs.org/package/primer-markdown) [![Build Status](https://travis-ci.org/primer/primer-css.svg?branch=master)](https://travis-ci.org/primer/primer-css) > Stylesheets for rendering GitHub Flavored Markdown and syntax highlighted code snippets. This repository is a module of the full [primer-css][primer-css] repository. ## Install This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-markdown` with this command. ``` $ npm install --save primer-markdown ``` ## Usage The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this. ```scss @import "primer-markdown/index.scss"; ``` You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._ ## Build For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css` The built css file is also included in the npm package. ``` $ npm run build ``` ## Documentation Text can be **bold**, _italic_, or ~~strikethrough~~. [Links](https://github.com) should be blue with no underlines (unless hovered over). There should be whitespace between paragraphs. There should be whitespace between paragraphs. There should be whitespace between paragraphs. There should be whitespace between paragraphs. There should be whitespace between paragraphs. There should be whitespace between paragraphs. There should be whitespace between paragraphs. There should be whitespace between paragraphs. > There should be no margin above this first sentence. > > Blockquotes should be a lighter gray with a gray border along the left side. > > There should be no margin below this final sentence. # Header 1 This is a normal paragraph following a header. Bacon ipsum dolor sit amet t-bone doner shank drumstick, pork belly porchetta chuck sausage brisket ham hock rump pig. Chuck kielbasa leberkas, pork bresaola ham hock filet mignon cow shoulder short ribs biltong. ## Header 2 > This is a blockquote following a header. Bacon ipsum dolor sit amet t-bone doner shank drumstick, pork belly porchetta chuck sausage brisket ham hock rump pig. Chuck kielbasa leberkas, pork bresaola ham hock filet mignon cow shoulder short ribs biltong. ### Header 3 ``` This is a code block following a header. ``` #### Header 4 * This is an unordered list following a header. * This is an unordered list following a header. * This is an unordered list following a header. ##### Header 5 1. This is an ordered list following a header. 2. This is an ordered list following a header. 3. This is an ordered list following a header. ###### Header 6 | What | Follows | |-----------|-----------------| | A table | A header | | A table | A header | | A table | A header | ---------------- There's a horizontal rule above and below this. ---------------- Here is an unordered list: * Salt-n-Pepa * Bel Biv DeVoe * Kid 'N Play And an ordered list: 1. Michael Jackson 2. Michael Bolton 3. Michael Bublé And an unordered task list: - [x] Create a sample markdown document - [x] Add task lists to it - [ ] Take a vacation And a "mixed" task list: - [ ] Steal underpants - ? - [ ] Profit! And a nested list: * Jackson 5 * Michael * Tito * Jackie * Marlon * Jermaine * TMNT * Leonardo * Michelangelo * Donatello * Raphael Definition lists can be used with HTML syntax. Definition terms are bold and italic.