Skip to content

Instantly share code, notes, and snippets.

@icodejs
Created August 22, 2012 18:10
Show Gist options
  • Save icodejs/3428049 to your computer and use it in GitHub Desktop.
Save icodejs/3428049 to your computer and use it in GitHub Desktop.
Markdown Cheat Sheet
# Markdown Cheat Sheet
# H1 tag
## H2 tag
### H3 tag
#### H4 tag
##### H5 tag
###### H6 tag
*This text will be italic*
_This will also be italic_
**This text will be bold**
__This will also be bold__
* Item 1
* Item 2
* Item 2a
* Item 2b
1. Item 1
2. Item 2
3. Item 3
* Item 3a
* Item 3b
Image Format: ![google logo](https://www.google.co.in/images/srpr/logo3w.png)
Link [Chiragchamoli](http://Chiragchamoli.com)
Quote
> Journey of a thousand miles
> begins with. Just one step
Text with
two trailing spaces
(on the right)
can be used
for things like poems
### Horizontal rules
* * * *
****
--------------------------
<div class="custom-class" markdown="1">
This is a div wrapping some Markdown plus. Without the DIV attribute, it ignores the
block.
</div>
## Markdown plus tables ##
| Header | Header | Right |
| ------ | ------ | -----: |
| Cell | Cell | $10 |
| Cell | Cell | $20 |
* Outer pipes on tables are optional
* Colon used for alignment (right versus left)
## Markdown plus definition lists ##
Bottled water
: $ 1.25
: $ 1.55 (Large)
Milk
Pop
: $ 1.75
* Multiple definitions and terms are possible
* Definitions can include multiple paragraphs too
*[ABBR]: Markdown plus abbreviations (produces an <abbr> tag)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment