zoukankan      html  css  js  c++  java
  • markdown语法

    Header 1

    Header 2

    Header 3 ### (Hashes on right are optional)

    Header 4

    Header 5

    Markdown plus h2 with a custom ID ## {#id-goes-here}

    Link back to H2

    This is a paragraph, which is text surrounded by whitespace. Paragraphs can be on one
    line (or many), and can drone on for hours.

    Here is a Markdown link to Warped, and a literal .
    Now some SimpleLinks, like one to [google] (automagically links to are-you-
    feeling-lucky), a [wiki: test] link to a Wikipedia page, and a link to
    [foldoc: CPU]s at foldoc.

    Now some inline markup like italics, bold, and code(). Note that underscores in
    words are ignored in Markdown Extra.

    picture alt

    Blockquotes are like quoted text in email replies

    And, they can be nested

    • Bullet lists are easy too
    • Another one
    • Another one
    1. A numbered list
    2. Which is numbered
    3. With periods and a space

    And now some code:

    // Code is just text indented a bit
    which(is_easy) to_remember();
    
    
    // Markdown extra adds un-indented code blocks too
    
    if (this_is_more_code == true && !indented) {
        // tild wrapped code blocks, also not indented
    }
    
    

    Text with
    two trailing spaces
    (on the right)
    can be used
    for things like poems

    Horizontal rules




    This is a div wrapping some Markdown plus. Without the DIV attribute, it ignores the block.

    Markdown plus tables

    Header Header Right
    Cell Cell $10
    Cell Cell $20
    • Outer pipes on tables are optional
    • Colon used for alignment (right versus left)

    Markdown plus definition lists

    Bottled water
    $ 1.25
    $ 1.55 (Large)

    Milk
    Pop
    : $ 1.75

    • Multiple definitions and terms are possible
    • Definitions can include multiple paragraphs too
  • 相关阅读:
    encodeURI 编码、decodeURI 解码
    JavaScript toLocaleString() 方法
    element-ui el-upload限制图片格式尺寸及图片
    vue计算属性的使用
    element级联选择器表单回显
    关于css浮动需要注意的一点
    el-tree树形结构实现自定义关联
    element UI 表格中暂无数据自定义
    vue登录流程
    vue 中表单置空简单操作
  • 原文地址:https://www.cnblogs.com/xianqingzh/p/3992592.html
Copyright © 2011-2022 走看看