A Refresher on Markdown
Markdown provides a clean and simple syntax for writing content to be parsed and translated into HTML.
The following is adapted from Daring Fireball's Markdown primer.
Table of Contents
- Block Quotes
- Phrase Emphasis
- Lists
- Links
- Images
- Code Highlighting
- Math
- Other Resources <!-- /TOC -->
Block Quotes
> block quote
>
> second paragraph of block quote
block quote
second paragraph of block quote
Phrase Emphasis
- *Italics*
- **Bold**
- __Bold2__
- Italics
- Bold
- Bold2
Lists
**Unordered**
- one
- two
- three
**Ordered**
1. one
2. two
3. three
Unordered
- one
- two
- three
Ordered
- one
- two
- three
Links
[A link](http://www.google.com)
Images
![alt text](./path/to/image "title")
![alt text with id][id]
# with kramdown
![alt text](./path/to/image "tile"){: width="300px" }
{: width="300px" }
Code Highlighting
jekyll's liquid template tags make this one difficult to keep as text.
between tags: use 'highlight <lang>' and 'endhighlight'
def print_hi(name)
print "hi,", name
>>> print_hi('there')
'hi, there'
Math
This is an inline math statement: $$sin(x^2)$$
This is a block statement
$$sin(x^2)$$
This is an inline math statement: $$sin(x^2)$$
This is a block statement
$$sin(x^2)$$