zoukankan      html  css  js  c++  java
  • 用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完整说明这里

  • 相关阅读:
    二 .数据库(Data)操作
    一. 数据库(Data)基础
    五种IO/模型
    并发编程 (协程)
    七.并发编程 (线程池,返回值,回调函数)
    六.并发编程 (线程对列)
    五.并发编程 (线程事件)
    四.并发编程 (线程信号量)
    三.并发编程 (线程锁)
    二.并发编程 (程序中线程操作)
  • 原文地址:https://www.cnblogs.com/mrkelly/p/3902564.html
Copyright © 2011-2022 走看看