2018-02-24 15:54 更新

{include:<filename>} 得到`<filename>`的內(nèi)容。
{sys:<command>} 得到執(zhí)行腳本命令`<command>`的標(biāo)準(zhǔn)輸出。
{sys2:<command>} 得到執(zhí)行腳本命令`<command>`的標(biāo)準(zhǔn)輸出和標(biāo)準(zhǔn)錯(cuò)誤。
{sys3:<command>} 直接輸出結(jié)果不進(jìn)行任何處理。
{amp}                 顯示字符 (&)
{asciidoc-dir}        asciidoc(1)程序文件夾
{asciidoc-file}       asciidoc(1)腳本的完整路徑
{asciidoc-version}    asciidoc(1)的版本
{author}              作者姓名
{authored}            空字符串 '' 如果 {author} 或 {email} 已經(jīng)指定,
{authorinitials}      作者縮寫(xiě) (from document header)
{backend-<backend>}   空字符串 ''
{<backend>-<doctype>} 空字符串 ''
{backend}             document backend specified by `-b` option
{backslash}           反斜杠
{basebackend-<base>}  空字符串 ''
{basebackend}         html 或 docbook
{brvbar}              豎線 (|)
{revdate}             文檔修訂日期 (from document header)
{docdate}             文檔最后修改日期
{doctime}             文檔最后修改時(shí)間
{docname}             文檔文件名不含擴(kuò)展名
{docfile}             文檔文件名 (note 5)
{docdir}              document input directory name  (note 5)
{doctitle}            文檔標(biāo)題 (from document header)
{doctype-<doctype>}   空字符串 ''
{doctype}             文檔類型使用`-d`設(shè)置指定
{email}               作者email (from document header)
{empty}               空字符串 ''
{encoding}            指定輸入輸出編碼
{filetype-<fileext>}  空字符串 ''
{filetype}            輸出文件的擴(kuò)展名
{firstname}           作者名字 (from document header)
{gt}                  大于號(hào) (>)
{id}                  running block id generated by BlockId elements
{indir}               輸出文件的文件夾名稱 (note 2,5)
{infile}              輸入文件名稱 (note 2,5)
{lastname}            作者姓氏 (from document header)
{level}               標(biāo)題級(jí)別 1..4 (in section titles)
{listindex}           the list index (1..) of the most recent list item
{localdate}           當(dāng)前日期
{localtime}           當(dāng)期時(shí)間
{lt}                  小于號(hào) (<)
{manname}             manpage name (defined in NAME section)
{manpurpose}          manpage (defined in NAME section)
{mantitle}            document title minus the manpage volume number
{manvolnum}           manpage volume number (1..8) (from document header)
{middlename}          作者中間名 (from document header)
{nbsp}                空格
{outdir}              文檔輸出文件夾名 (note 2)
{outfile}             輸出文件名 (note 2)
{reftext}             running block xreflabel generated by BlockId elements
{revnumber}           文檔修訂版本號(hào) (from document header)
{sectnum}             formatted section number (in section titles)
{showcomments}        在輸出文件中顯示注釋行
{title}               章節(jié)標(biāo)題 (in titled elements)
{two_colons}          雙冒號(hào)
{two_semicolons}      雙分號(hào)
{user-dir}            ~/.asciidoc文件夾 (如果存在)
{verbose}             defined as '' if --verbose command option specified
以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)