From: David G. <go...@py...> - 2007-01-15 19:16:23
|
On 1/15/07, Ben Finney <be...@be...> wrote: > How can I achieve the desired effect, i.e. to have a "class" block > containing headings? Strictly speaking you can't, because section titles cannot be indented. But you can apply a class to any following unindented construct, like this: """ Baz === Lorem ipsum .. class:: beans Bork ==== Lorem ipsum """ The "Bork" section will have class="beans". -- David Goodger <http://python.net/~goodger> |