[

  1. {include:<filename>} 得到`<filename>`的内容。
  2. {sys:<command>} 得到执行脚本命令`<command>`的标准输出。
  3. {sys2:<command>} 得到执行脚本命令`<command>`的标准输出和标准错误。
  4. {sys3:<command>} 直接输出结果不进行任何处理。
  5. {amp} 显示字符 (&)
  6. {asciidoc-dir} asciidoc(1)程序文件夹
  7. {asciidoc-file} asciidoc(1)脚本的完整路径
  8. {asciidoc-version} asciidoc(1)的版本
  9. {author} 作者姓名
  10. {authored} 空字符串 '' 如果 {author} {email} 已经指定,
  11. {authorinitials} 作者缩写 (from document header)
  12. {backend-<backend>} 空字符串 ''
  13. {<backend>-<doctype>} 空字符串 ''
  14. {backend} document backend specified by `-b` option
  15. {backslash} 反斜杠
  16. {basebackend-<base>} 空字符串 ''
  17. {basebackend} html docbook
  18. {brvbar} 竖线 (|)
  19. {revdate} 文档修订日期 (from document header)
  20. {docdate} 文档最后修改日期
  21. {doctime} 文档最后修改时间
  22. {docname} 文档文件名不含扩展名
  23. {docfile} 文档文件名 (note 5)
  24. {docdir} document input directory name (note 5)
  25. {doctitle} 文档标题 (from document header)
  26. {doctype-<doctype>} 空字符串 ''
  27. {doctype} 文档类型使用`-d`设置指定
  28. {email} 作者email (from document header)
  29. {empty} 空字符串 ''
  30. {encoding} 指定输入输出编码
  31. {filetype-<fileext>} 空字符串 ''
  32. {filetype} 输出文件的扩展名
  33. {firstname} 作者名字 (from document header)
  34. {gt} 大于号 (>)
  35. {id} running block id generated by BlockId elements
  36. {indir} 输出文件的文件夹名称 (note 2,5)
  37. {infile} 输入文件名称 (note 2,5)
  38. {lastname} 作者姓氏 (from document header)
  39. {level} 标题级别 1..4 (in section titles)
  40. {listindex} the list index (1..) of the most recent list item
  41. {localdate} 当前日期
  42. {localtime} 当期时间
  43. {lt} 小于号 (<)
  44. {manname} manpage name (defined in NAME section)
  45. {manpurpose} manpage (defined in NAME section)
  46. {mantitle} document title minus the manpage volume number
  47. {manvolnum} manpage volume number (1..8) (from document header)
  48. {middlename} 作者中间名 (from document header)
  49. {nbsp} 空格
  50. {outdir} 文档输出文件夹名 (note 2)
  51. {outfile} 输出文件名 (note 2)
  52. {reftext} running block xreflabel generated by BlockId elements
  53. {revnumber} 文档修订版本号 (from document header)
  54. {sectnum} formatted section number (in section titles)
  55. {showcomments} 在输出文件中显示注释行
  56. {title} 章节标题 (in titled elements)
  57. {two_colons} 双冒号
  58. {two_semicolons} 双分号
  59. {user-dir} ~/.asciidoc文件夹 (如果存在)
  60. {verbose} defined as '' if --verbose command option specified

](https://github.com/stanzgy/wiki/blob/master/markup/asciidoc-guide.asciidoc#宏)