Re: Using reStructured text
Chris G <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jun 08, 2007 at 11:23:30AM -0400, Will Guaraldi wrote: > On 6/8/07, Chris G <[email protected]> wrote: > > When using reStructured Text in Pybloxsom how is the start of a > > posting file interprted? > > > > I've figured out that the first line (as for HTML) is the Title but > > it's not clear what happens after that. For example if I put:- > > > > > > This is the Title > > > > This is a Heading > > ================= > > > > Here is the body of the entry. > > > > > > > > The Title appears as expected but "This is a Heading" doesn't appear > > at all, what rules (if any) govern the parsing of an rst file? > > I'm not really sure why that is. If I get a chance this weekend, I'll > tinker with it and see what the deal is. > > The documentation for the rst plugin talks about two configuration > parameters you can set. Perhaps adjusting one or both of those will > help? > Yes it does, setting "py['reST_transform_doctitle'] = 0" makes the rst heading appear. Presumably the promotion of the first two headings in rst to titles affects the way that Pybloxsom handles them somehow. -- Chris Green ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/