[Moin-user] code blocks and indentation (redux)

Fred Drake fdrake at gmail.com
Fri May 16 15:36:25 EDT 2008


On Fri, May 16, 2008 at 2:47 PM, Poor Yorick
<net.sourceforge.lists.moin-user at pooryorick.com> wrote:
> One thing, though, is that if I start a code-block at some level within the outline, the indentation of the lines is also included in the presentation of the code block.  In order for the indentation to look right in the rendered page, all code blocks, even if they belong to some deeper lever in the outline, must start at the beginning of a line.

Fortunately, the reStructuredText syntax doesn't have this problem.
There's some description of how to use this in moin in the stock help
pages.  You'll need to include the Python docutils package in your
installation to use this.


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller




More information about the Moin-user mailing list