asciidoc - 内联条件包含宏

时间:2015-04-22 22:12:37

标签: asciidoc

有没有办法在AsciiDoc中执行内嵌条件包含宏?

我希望能够做到这样的事情:

  

控件的数据源属性是ifdef :: wpf [22:39:55.176 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception. 22:39:55.176 [ERROR] [org.gradle.BuildExceptionReporter] 22:39:55.177 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong: 22:39:55.177 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':facebook-sdk:androidJavadocs'. 22:39:55.177 [ERROR] [org.gradle.BuildExceptionReporter] > Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/..../project/libraries/facebook-android-sdk/facebook/build/tmp/androidJavadocs/javadoc.options' ] ifdef :: web [DataContext]并接受视图模型对象的集合。

是否有可能使这样的语法变化?

1 个答案:

答案 0 :(得分:0)

使用asciidoctor时可能无法了解python处理器。

Here开始,您可以看到它在测试工具中的使用方式。

On our quest we go...
ifdef::holygrail[There is a holy grail!]
There was much rejoicing.