Writing

A Few Common Markdown Tricks

Preface: When writing articles I only use a handful of common syntax, but my memory is failing—I keep forgetting. Summarized here so I do not have to search again.

Preface: When writing articles I only use a handful of common syntax, but my memory is failing—I keep forgetting. Summarized here so I do not have to search again.

Headings

Write like this:

# Level 1 heading
## Level 2 heading

Result

Level 1 heading

Level 2 heading

Lists

* Text 1
* Text 2
* Text 3
  • Text 1

  • Text 2

  • Text 3

Blockquotes

>This is a moving story
>

This is a moving story

Tables

| Symbol | Meaning |
| :-----: |:-------------:|
| .|    Matches any character except newline|
|\ |Escape character|

Symbol Meaning

. Matches any character except newline


Escape character

Bold and Italic

**girl**      *girl*

girl girl

Code

`hello`

hello

[My Machine Learning pandas post](http://www.jianshu.com/p/82245c5bed99)
[My Machine Learning matplotlib post](http://www.jianshu.com/p/f2ebf312e323)
[My Machine Learning numpy post](https://www.jianshu.com/p/3a757f14a713)

My Machine Learning pandas post My Machine Learning matplotlib post My Machine Learning numpy post

Images

![My beautiful image](/writing/ml/markdown-tips/img-01.png)

image

My beautiful image