AsciiDoc 中的当前文件名
Current Filename in AsciiDoc
是否有像 AsciiDoc/Asciidoctor 中的 'imagepath' 这样的变量可以给我当前的源文件?
我想使用它来向源渲染 link...
在 google
上找不到这个
在 Asciidoctor (http://asciidoctor.org/docs/user-manual/#env-attributes) 中尝试
文档目录、文档名、文档文件
这些仅适用于外部文档 - 无法获取#included 文件的名称。
Asciidoc 还为当前的#include 添加了 infile 和 indir。
是否有像 AsciiDoc/Asciidoctor 中的 'imagepath' 这样的变量可以给我当前的源文件?
我想使用它来向源渲染 link...
在 google
上找不到这个在 Asciidoctor (http://asciidoctor.org/docs/user-manual/#env-attributes) 中尝试
文档目录、文档名、文档文件
这些仅适用于外部文档 - 无法获取#included 文件的名称。
Asciidoc 还为当前的#include 添加了 infile 和 indir。