用Markdown写博客快速入门
生活随笔
收集整理的這篇文章主要介紹了
用Markdown写博客快速入门
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Markdown,簡單來說,就是一種可以方便轉換為HTML的帶標記符號純文本。
它是對我等鍵盤黨的福音:我不用再費勁挪動鼠標去按加粗、設置段落了,用鍵盤輸入所有文本,一氣呵成。
最重要的是,cnblogs是支持Markdown編輯器的,去“設置默認編輯器”里面設置就行了。
引用官方說明,比如再cnblogs的Markdown編輯器里輸入~
A First Level Header ==================== A Second Level Header ---------------------Now is the time for all good men to come to the aid of their country. This is just a regular paragraph.The quick brown fox jumped over the lazy dog's back. ### Header 3> This is a blockquote. > > This is the second paragraph in the blockquote. > > ## This is an H2 in a blockquote然后發布后就相當于這樣了...
<h1>A First Level Header</h1> <h2>A Second Level Header</h2> <p>Now is the time for all good men to come to the aid of their country. This is just a regular paragraph.</p> <p>The quick brown fox jumped over the lazy dog's back.</p> <h3>Header 3</h3> <blockquote> <p>This is a blockquote.</p> <p>This is the second paragraph in the blockquote.</p> <h2>This is an H2 in a blockquote</h2> </blockquote>其實Markdown的應用已經很廣了,比如Github的Readme,就是要求Markdown語法寫的,既易讀,又易寫。
其實IT界不乏類比的產品,比如簡化JavaScript的CoffeeScript、NodeJS的Jade模板簡化HTML等等,都是設計來把一些復雜得語法變得傻瓜化。
更詳盡的語法說明參考wowubuntu完整說明這里
轉載于:https://www.cnblogs.com/mrkelly/p/3902564.html
總結
以上是生活随笔為你收集整理的用Markdown写博客快速入门的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Solaris - 使用TAB键自动补全
- 下一篇: 正式开始liunx学习之旅