2014年8月19日 星期二

[Tool] Markdown Syntax (Markdown 常用語法)



這篇最原始版本是三月多用Trello時整理的,
有些blog,像是Logdown

來分享給大家~

 Header 

ABC
===

ABC
---

#一級字
##二級字
###h3
######h6


 Paragraphs 

至少要空一行。

 Blockquote 

> 第一行
第二行
第三行

 List 

Unordered
* 第一行        - 第一行        + 第一行                ・第一行
* 第二行        - 第二行        + 第二行        =>      ・第二行
* 第三行        - 第三行        + 第三行                ・第三行

Ordered
1. 第一行       2. 第一行       1. 第一行               1. 第一行
2. 第二行       9. 第二行       - 第二行        =>      2. 第二行
3. 第三行       6. 第三行       * 第三行                3. 第三行

 Horizantal Line 

---
- - -
***
* * *
* **

 Emphasis 

*斜體字*
_斜體字_
**粗體字**
__粗體字__

 Code 

`printf("Hello World");`

 Link 

[Google](http://www.google.com.tw)
[Google](http://www.google.com.tw "Link to Google")

[Google][googleLinkVar]
[googleLinkVar]: http://www.google.com.tw
[googleLinkVar]: http://www.google.com.tw "Link to Google"

"Link to Google" is the hint when hovering.

 Image 

![Alt Text](/path/to/img.jpg)
![Alt Text](/path/to/img.jpg "Optional title")

![Alt Text][imgPathVar]
![imgPathVar]: /path/to/img.jpg
![imgPathVar]: /path/to/img.jpg "Optional title"

 Automatic Links 

<http://me.info>      =>      <a href="http://me.info">http://me.info</a>

 Backslash Escape 

\*literal asterisks\*

Markdown provides backslash escapes for the following characters:

  \   backslash
  `   backtick
  *   asterisk
  _   underscore
  {}  curly braces
  []  square brackets
  ()  parentheses
  #   hash mark
  +   plus sign
  -   minus sign (hyphen)
  .   dot
  !   exclamation mark



詳細的可以參考:
Markdown文件
Mastering Markdown

沒有留言:

張貼留言