看到OSC有Markdown编辑器,所以想重拾一下Markdown
用HTML编辑器对对于格式有强迫症的人来说无疑是件比较痛苦的事,总是觉得格式看着不爽,多一个换行、段落都觉得别钮
之前感觉写博客最爽的方式应该就是在emacs下用Markdown或Org了
现在暂时在Windows下用Sublime Text 2写Markdown文档
博客也写完再拷贝进来,格式相当完美
快速回顾一下语法,基本上把Cheat Sheet里面的记住就可以了
Markdown主页
Markdown: Basics (快速入门)
Markdown 语法说明 (简体中文版)
Markdown 工具补完
Syntax Cheatsheet
Phrase Emphasis
italic bold
italic bold
Links
Inline:
An example
Reference-style labels (titles are optional):
An example. Then, anywhere else in the doc, define the link:
Images
Inline (titles are optional):
Reference-style:
Headers
Setext-style:
atx-style (closing #'s are optional):
Lists
Ordered, without paragraphs:
Unordered, with paragraphs:
A list item.
With multiple paragraphs.
Bar
You can nest them:
Blockquotes
Email-style angle brackets
are used for blockquotes.And, they can be nested.
Headers in blockquotes
- You can quote a list.
- Etc.
Code Spans
<code>
spans are delimited by backticks.
You can include literal backticks like `this`
.
Preformatted Code Blocks
Indent every line of a code block by at least 4 spaces or 1 tab.
This is a normal paragraph.
This is a preformatted
code block.
Horizontal Rules
Three or more dashes or asterisks:
Manual Line Breaks
End a line with two or more spaces:
Roses are red,
Violets are blue.
(- -||||又是闲的)