為個人規範跟一些使用方式的範例筆記
- 全小寫: 一般名詞,如
hexo
- 全大寫: 特定縮寫,如
SEO
- 按照英文字母順序排列
Markdown 基本語法
水平線
右尖括號
星號刮起來變斜體
兩個星號括起來
刪除線
Ref: Markdown 語法說明
標題
h1
h2
h3
h4
1 2 3 4
| # h1 ## h2 ### h3 #### h4
|
特殊區塊
提示區塊
提示區塊
1 2 3
| <div class="tip"> 提示區塊 </div>
|
評論區塊
murmur區塊
1
| <small class="murmur">murmur區塊</small>
|
murmur in tip
提示區塊
在提示區塊 murmur
1 2 3 4 5 6
| <div class="tip"> 提示區塊 <small class="murmur"> 在提示區塊 murmur </small> </div>
|
Markdown 新大陸
Code Block
1 2 3
| {% codeblock [title] [lang:language] [url] [link text] %} code snippet {% endcodeblock %}
|
我一直把那個格式當成是 ejs
的格式 囧
Backtick Code Block
test.md#Backtick-Code-Block1
| ~~~ [language] [title] [url] [link text] code snippet ~~~
|
- Code block 與 Backtick Code Block 不能混用
- Block 與上下文必須有空行不能連在一起
Blockquote
Every interaction is both precious and an opportunity to delight.
1 2 3
| {% blockquote Seth Godin http://sethgodin.typepad.com/seths_blog/2009/07/welcome-to-island-marketing.html Welcome to Island Marketing %} Every interaction is both precious and an opportunity to delight. {% endblockquote %}
|
引用