How to embed HTML in restructured text file?
Asked Answered
A

1

74

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.

Aldric answered 23/12, 2011 at 22:7 Comment(0)
B
98

Try

.. raw:: html

    <embed>
        ...
    </embed>

The raw directive

Bk answered 24/12, 2011 at 1:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.