[Zope] [OT] ReStructured Text

Dave Kuhlman dkuhlman at cutter.rexx.com
Wed Sep 8 21:05:28 EDT 2004


> -----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-blocks


For an in-line literal, surround the text with double back-quotes.

See:

    http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-literals

Dave


-- 
Dave Kuhlman
http://www.rexx.com/~dkuhlman


More information about the Zope mailing list