Markdown Expansion

This article mainly tells the rest of common markdown syntax.

Markdown Expansion

Code

To coding in Markdown, you preface the phrase with a TAB or four blanks, you also surround code block with ``` ```, like

```
hello world
```

And to write inline code, you can surround words with backticks(``), like `TAB`.

Separator Line

To add a separator line, you use three or more characters such as * or - or _ in a line.

1
2
3
***
------
___

Strike Through

Strike Through. Surround words with tilde(~~ ~~), like

1
~~Strike Through~~

Tables

Tables are created by adding pipes as dividers between each cell, and by adding a line of dashes (also separated by bars) beneath the header. Note that the pipes do not need to be vertically aligned.

1
2
3
4
5
| Option | Description |
| ------ | ----------- |
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. |
Option Description
data path to data files to supply the data that will be passed into templates.
engine engine to be used for processing templates. Handlebars is the default.
ext extension to be used for dest files.

Named Anchors

Named anchors enable you to jump to the specified anchor point on the same page.

1
2
3
4
# Table of Contents
* [Chapter 1](#chapter-1)
* [Chapter 2](#chapter-2)
* [Chapter 3](#chapter-3)

will jump to these sections:

1
2
3
4
5
6
7
8
#### Chapter 1 <a id="chapter-1"></a>
Content for chapter one.
#### Chapter 2 <a id="chapter-2"></a>
Content for chapter one.
#### Chapter 3 <a id="chapter-3"></a>
Content for chapter one.

Character Escape

The backslash (\) is used to insert characters that have special roles in the Markdown grammar, like:

1
2
3
4
5
6
7
8
9
10
11
12
\
`
*
_
{}
[]
()
#
+
-
.
!