Markdown:

Markdown is a lightweight markup language that you can use to add formatting elements to plaintext text documents. Created by John Gruber in 2004, Markdown is now one of the world’s most popular markup languages.


Why Use Markdown?

You might be wondering why people use Markdown instead of a WYSIWYG editor. Why write with Markdown when you can press buttons in an interface to format your text? As it turns out, there are a couple different reasons why people use Markdown instead of WYSIWYG editors.

  • Markdown can be used for everything. People use it to create websites, documents, notes, books, presentations, email messages, and technical documentation.

  • Markdown is portable. Files containing Markdown-formatted text can be opened using virtually any application. If you decide you don’t like the Markdown application you’re currently using, you can import your Markdown files into another Markdown application. That’s in stark contrast to word processing applications like Microsoft Word that lock your content into a proprietary file format.

  • Markdown is platform independent. You can create Markdown-formatted text on any device running any operating system.

  • Markdown is future proof. Even if the application you’re using stops working at some point in the future, you’ll still be able to read your Markdown-formatted text using a text editing application. This is an important consideration when it comes to books, university theses, and other milestone documents that need to be preserved indefinitely.

  • Markdown is everywhere. Websites like Reddit and GitHub support Markdown, and lots of desktop and web-based applications support it.


Markdown cheat sheet:

Header

# h1 ## h2 ### h3 #### h4 ##### h5 ###### h6 Header 1 ====== Header 2 ---------


Example

h1

h2

h3

h4

h5
h6

Header 1

Header 2

Lists

* Unordered Item 1 * Unordered Item 2 1. Ordered Item 1 2. Ordered Item 2


Example
  • Unordered Item 1

  • Unordered Item 1

  1. Ordered Item 1

  2. Ordered Item 2

Links

[link](http://google.com)


[link](http://google.com "Google.com")


[link][google] [google]: http://google.com

Code

4 space indent makes a code block


``` code fences ```


```js codeFences.withLanguage() ```


`denote a word or phrase as code`

Tables

| Column 1 Heading | Column 2 Heading | | ---------------- | ---------------- |


| Some content | Other content | Column 1 Heading | Column 2 Heading --- | --- Some content | Other content

Horizontal Line

----


****


_____

Emphasis

*italic* _italic_ **bold** __bold__


Example

italic italic bold bold

Images

![Image alt text](/path/to/img.jpg) ![Image alt text](/path/to/img.jpg "title")


![Image alt text][img] [img]: http://foo.com/img.jpg

Blockquotes

> This is > a blockquote > > > Nested > > Blockquote