美文网首页
我的Markdown

我的Markdown

作者: dream_eac3 | 来源:发表于2017-08-03 10:52 被阅读0次

    使用推荐


    标题


    • 根据使用的 # 的多少来改变字体的大小相当于html中的h标签

    列表


    • 使用* 就可以获得列表

    引用

    • 使用 > 右箭头就可以获取引用例如

    this is a 引用

    图片与链接

    • 图片为 !{ImgCap}{/ImgCap}
    • 链接为 []()
    • 区别在于一个加了!另一个没有加
    • 注意加入图片需要图床,这里推荐围脖图床修复计划 与 CloudApp 的服务,生成URL地址即可。
    • 比如以下(注意符号使用英文下的)
      百度一下

    粗体和斜体的使用

    • 粗体的使用只需要使用 *粗体 * 即可
    • 斜体使用 * 斜体 * 即可

    表格

    • 表格的格式比较的麻烦,不过记住有这个粘贴复制即可
    • 代码例子如下,拿来主义
      <pre>
      | Tables | Are | Cool |
      | ------------- |:-------------:| -----:|
      | col 3 is | right-aligned | $1600 |
      | col 2 is | centered | $12 |
      | zebra stripes | are neat | $1 |
      </pre>

    Tables Are Cool
    col 3 is right-aligned $1600
    col 2 is centered $12
    zebra stripes are neat $1

    代码框

    • 如果你是一个程序猿,想要让代码原样显示也很简单实用 es6里面的模板字符串即可 注意可能是版本更新这里要使用三个 ```` 中间是代码 ````才可以
    var compiler = webpack(webpackConfig){
       compiler.plugin('compilation', function (compilation) {
              compilation.plugin('html-webpack-plugin-after-emit',  
                                    function (data, cb) {
        hotMiddleware.publish({ action: 'reload' })
        cb()
                                      })
                    })  
    
    Object.keys(proxyTable).forEach(function (context) {
      var options = proxyTable[context]
      if (typeof options === 'string') {
        options = { target: options }
      }
      app.use(proxyMiddleware(options.filter || context, options))
    })
    

    分割线

    • 随便三个* 或者-减号都可以

    相关文章

      网友评论

          本文标题:我的Markdown

          本文链接:https://www.haomeiwen.com/subject/huoulxtx.html