How to embed HTML in restructured text file?

匿名 (未验证) 提交于 2019-12-03 02:50:02

问题:

I'm using reStructuredText and I'd like to add HTML encoding an interactive flash-type animation through the <embed> tag. From my .rst document, how can I specify the position of this arbitrary chunk of HTML? Something like:

  .. html ::    <embed>   ... more html here ...   </embed> 

Does this feature exist? thanks.

回答1:

Try

.. raw:: html      <embed>         ...     </embed> 

The raw directive



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!