zoukankan      html  css  js  c++  java
  • AsciiDoc Markup Syntax Summary

    AsciiDoc Markup Syntax Summary
    ==============================
    
    A summary of the most commonly used markup.
    For a complete reference see the 'AsciiDoc User Guide'.
    
    Text formatting
    ---------------
      *bold text*                 (boldface font)
      _emphasized text_           (normally italics)
      'emphasized text'
      +monospaced text+           (proportional font)
      `monospaced text`           (inline literal passthrough)
    
    Document links
    --------------
      [[id]]                      (define link target)
      <<id,caption>>              (link to target id)
      link:filename#id[caption]   (link to external HTML file)
    
    URLs
    ----
      Use normal URL and email addess syntax or:
    
      http:address[caption]       (link to web page)
      mailto:address[caption]     (link to mail recipient)
    
    Images
    ------
      image:filename[caption]     (inline image)
      image::filename[caption]    (block image)
    
    Document header
    ---------------
    
      The Document Title
      ==================
      author 
      revision, date
    
    author, email, revision and date are optional.
    
    Section title underlines
    ------------------------
      Underlined:
    
      Level 0                     (document title)
      =======
      Level 1
      -------
      Level 2
      ~~~~~~~
      Level 3
      ^^^^^^^
      Level 4                     (bottom level)
      +++++++
    
      Single line:
    
      = Level 0 =                 (document title)
      == Level 1 ==
      === Level 2 ===
      ==== Level 3 ====
      ===== Level 4 =====         (bottom level)
    
    Paragraphs
    ----------
    A normal paragraph.           (styles: literal,verse,quote,listing,
                                           NOTE,TIP,WARNING,IMPORTANT,CAUTION)
      An indented literal
      paragraph.
    
    Delimited blocks
    ----------------
    Delimiters must begin at left margin.
    
      -------------------         (styles: source,music,graphviz)
      listing block
      -------------------
    
      ...................         (styles: listing,verse)
      literal block
      ...................
    
      *******************
      sidebar block
      *******************
    
      [style, author, cite]
      ___________________         (styles: quote,verse)
      quote block
      ___________________
    
      ===================         (styles: NOTE,TIP,WARNING,
      example block                        IMPORTANT,CAUTION)
      ===================
    
      ///////////////////
      comment block
      ///////////////////
    
      +++++++++++++++++++         (styles: pass,asciimath,latexmath)
      passthrough block
      +++++++++++++++++++
    
      [style]                     (styles: abstract,partintro)
      --
      open block
      --
    
    More block elements
    -------------------
      [attributes list]
      .Block title
      // Comment line
      include::filename[]
    
    Tables
    ------
      .An example table
      [width="40%",cols="^,2m",frame="topbot",options="header,footer"]
      |======================
      |Column 1 |Column 2
      |1        |Item 1
      |2        |Item 2
      |3        |Item 3
      |6        |Three items
      |======================
    
      Common attributes:
    
      grid:    none,cols,rows,all
      frame:   topbot,none,sides,all
      options: header,footer
      format:  psv,csv,dsv
      valign:  top,bottom,middle
         1%..100%
      cols:    colspec[,colspec,...]
    
      colspec:    [multiplier*][align][width][style]
      multiplier: 1...
            1... or 1%...100%
      align:      [horiz][.vert]
                   horiz: < (left), ^ (center), > (right)
                   vert:  < (top),  ^ (middle), > (bottom)
      style:      d[efault], e[mphasis], m[onospaced], a[sciidoc],
                  s[trong], l[iteral], v[erse], h[eader]
      cell:       [cellspec]|data
      cellspec:   [span*|+][align][style]
      span:       [colspan][.rowspan]
                   colspan: 1...
                   rowspan: 1...
    
    Bulleted lists
    --------------
      - item text
      * item text
      ** item text
      *** item text
      **** item text
      ***** item text
    
      (styles: callout,bibliography)
    
    Numbered lists
    --------------
      1. arabic (decimal) numbering
      a. loweralpha numbering
      F. upperalpha numbering
      iii) lowerroman numbering
      IX) upperroman numbering
    
      . arabic (decimal) numbering
      .. loweralpha numbering
      ... lowerroman numbering
      .... upperalpha numbering
      ..... upperroman numbering
    
      (styles: arabic,loweralpha,upperalpha,lowerroman,upperroman)
    
    Labeled lists
    -------------
      label:: item text
      label;; item text
      label::: item text
      label:::: item text
    
      (styles: horizontal,vertical,glossary,qanda,bibliograpy)
    
    More inline elements
    --------------------
      footnote:[footnote text]    (document footnote)
    
    </pre
  • 相关阅读:
    机器学习-正则化方法
    机器学习-回归算法
    机器学习算法一
    机器学习概览
    tensorflow机器学习初接触
    tensorflow决策树初接触
    tensorflow语法
    tensorflow第一个例子简单实用
    Hyperledger Fabric 1.0架构入门
    结合《XXXX需求征集系统》分析可用性和可修改性战术
  • 原文地址:https://www.cnblogs.com/playerc/p/asciidoc_syntax.html
Copyright © 2011-2022 走看看