在狮身人面像中导出 html,无需自定义警告



在我的另一个问题之后 在狮身人面像文件中显示/隐藏部分文本(问题/答案( 我想做的是导出一个没有这个标签的html(或任何格式((例如,没有所有admonition指令的html

我阅读了.. only::指令,但似乎您可以从html中排除整个页面并将其放在latex中。

您可以通过将指令缩进彼此下来嵌套指令。

.. only:: html
..  admonition:: Solution
:class: toggle
* Go to the dexterity-controlpanel (http://localhost:8080/Plone/@@dexterity-types)
* Click on *Page* (http://127.0.0.1:8080/Plone/dexterity-types/Document)
* Select the tab *Behaviors* (http://127.0.0.1:8080/Plone/dexterity-types/Document/@@behaviors)
* Check the box next to *Lead Image* and save.

最新更新