diff options
Diffstat (limited to '_posts/2014-2-2-Markdown-Cheatsheet.md')
-rw-r--r-- | _posts/2014-2-2-Markdown-Cheatsheet.md | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/_posts/2014-2-2-Markdown-Cheatsheet.md b/_posts/2014-2-2-Markdown-Cheatsheet.md new file mode 100644 index 0000000..59c70ef --- /dev/null +++ b/_posts/2014-2-2-Markdown-Cheatsheet.md @@ -0,0 +1,63 @@ +--- +layout: post +title: Markdown Style Guide +--- + +A demo of all styled markdown elements in Jekyll Boilerplate. + +This is a paragraph, it's surrounded by whitespace. Next up are some headers, they're heavily influenced by GitHub's markdown style. + +## Header 2 (H1 is reserved for post titles)## +### Header 3 ### +#### Header 4 #### +##### Header 5 ##### + +A link to [Jekyll Boilerplate](http://github.com/barryclark/jekyll-boilerplate/). A big ass literal link <http://github.com/barryclark/jekyll-boilerplate/> + +An image, located within /images + +![an image alt text](/images/omg-code.jpg "an image title") + +* A bulletted list +- alternative syntax 1 ++ alternative syntax 2 + - an indented list item + +1. An +2. ordered +3. list + +Inline markup styles: + +- _italics_ +- **bold** +- `code()` + +> Blockquote +>> Nested Blockquote + +Code: + + // Code is just text indented a bit + which(is_easy) to_remember(); + +~~~ + +// Markdown extra adds un-indented code blocks too + +if (this_is_more_code == true && !indented) { + // tild wrapped code blocks, also not indented +} + +~~~ + +Use two trailing spaces +on the right +to create linebreak tags + +Finally, horizontal lines + +---- +**** + +Enjoy!
\ No newline at end of file |