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

> block quote
>
> second paragraph of block quote

block quote

second paragraph of block quote

Phrase Emphasis

- *Italics*
- **Bold**
- __Bold2__

Lists

**Unordered**

- one
- two
- three

**Ordered**

1. one
2. two
3. three

Unordered

Ordered

  1. one
  2. two
  3. three

Links

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

A link

Images

![alt text](./path/to/image "title")

![alt text with id][id]

# with kramdown
![alt text](./path/to/image "tile"){: width="300px" }

alt text

alt text with id

alt text{: 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)$$

Other Resources