Markdown Usage

Markdown Usage

1 Table


Number Next number Previous number
Five Six Four
Ten Eleven Nine
Seven Eight Six
Two Three One

Usage:

| Number | Next number | Previous number |
| :------ |:--- | :--- |
| Five | Six | Four |
| Ten | Eleven | Nine |
| Seven | Eight | Six |
| Two | Three | One |

2 Image


Crepe

Usage:

![Crepe](https://s3-media3.fl.yelpcdn.com/bphoto/cQ1Yoa75m2yUFFbY2xwuqw/348s.jpg)

3 Code Chunk


var foo = function(x) {
  return(x + 5);
}
foo(3)

Usage: just add tab.

    var foo = function(x) {
      return(x + 5);
    }
    foo(3)

Syntax highlighting:

var foo = function(x) {
  return(x + 5);
}
foo(3)

Usage:

```javascript

4 Alignment


4.1 Left Alignment


This is the code you need to align images to the left:

<img align="left" width="100" height="100" src="http://www.fillmurray.com/100/100">

4.2 Right Alignment


This is the code you need to align images to the right:

<img align="right" width="100" height="100" src="http://www.fillmurray.com/100/100">

4.3 Center Alignment


<p align="center">
  <img width="460" height="300" src="http://www.fillmurray.com/460/300">
</p>

5 Supplement


You can write regular markdown here and Jekyll will automatically convert it to a nice webpage. I strongly encourage you to take 5 minutes to learn how to write in markdown - it’ll teach you how to transform regular text into bold/italics/headings/tables/etc.

Tags: marketdown Vistied:
Share: Twitter Facebook LinkedIn