AsciiDoc中的block类型很多:
____
....
----
我想知道是否可以在任何这些块中渲染乳胶
= Rendering latex
:stem: latexmath
----
latexmath:[\sqrt{4}]
----
我注意到有Passthroughs一章对此进行了讨论。
所以,我尝试了
[subs=+macros]
----
pass:c[latexmath:[\sqrt{4}]]
pass:q[latexmath:[\sqrt{4}]]
pass:a[latexmath:[\sqrt{4}]]
pass:r[latexmath:[\sqrt{4}]]
pass:m[latexmath:[\sqrt{4}]]
pass:p[latexmath:[\sqrt{4}]]
----
但这没有帮助。
尽管stem block可以渲染乳胶,但多行内容的默认布局居中,而多余的空间则被忽略,这不是我想要的。我想保留原始布局,只渲染乳胶部分。