0

嘿,在 asciidoc 中存在一种创建预处理器宏的方法吗?

asciidoc 中的宏允许我为不同的输出格式生成自定义命令。我的目标是创建有效的 asciidoc。

例如:

预处理器宏:#define pair() %1 and %2

利用:i think pair("a", "b") are the same

结果:i think a and b are the same

我希望你能明白。属性、特殊词和替换不满足此要求。还是我错了?

感谢您提供任何帮助。

4

0 回答 0