[OT] ReStructured Text
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've read the Quick guide, the cheat guide and so on and I couldn't find how to put a piece of HTML code in a ReStructured Text and show it, as HTML code, can anybody please tell me ? (it is possible, isn't it ?) Thanks. - -- Pupeno: pupeno@pupeno.com - http://www.pupeno.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBP5/ifW48a9PWGkURAi1+AJ9ixsAU7GoQpRA9HxmAXiiXpUPFDgCghiAk gnhUD+cNnnMXK2cttkkILT8= =Pg/H -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I've read the Quick guide, the cheat guide and so on and I couldn't find how to put a piece of HTML code in a ReStructured Text and show it, as HTML code, can anybody please tell me ? (it is possible, isn't it ?) Thanks.
You are asking for a literal block, I believe. Add a double colon at the end of the previous paragraph, then indent your HTML. Here is an example:: <a href="http://zope.org">Zope home</a> See: http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#literal-b... For an in-line literal, surround the text with double back-quotes. See: http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-li... Dave -- Dave Kuhlman http://www.rexx.com/~dkuhlman
participants (2)
-
Dave Kuhlman -
Pupeno