Re: Restructured text parsing not showing h1 levels.

2007-04-02 Thread Michael Lake
Hi all Thanks for this help. [EMAIL PROTECTED] wrote: > There is an advanced RestructuredText django plugin I wrote with the > help of David Goodger: > https://svn.python.org/conference/django/trunk/pycon/markup/ That code looks useful, thanks. It will take me a while to have a look at it and

Re: Restructured text parsing not showing h1 levels.

2007-04-02 Thread [EMAIL PROTECTED]
There is an advanced RestructuredText django plugin I wrote with the help of David Goodger: https://svn.python.org/conference/django/trunk/pycon/markup/ This worked very very well, and deals with the problem you ran into by default. You can also set overrides in the settings file: class

Re: Restructured text parsing not showing h1 levels.

2007-04-02 Thread Chris Moffitt
> > This is normal Restructured Text behaviour, although I agree it's a bit > weird when you first see it. It's kind of a consequence of a ReST > feature combined with us (Django) diving into the middle of the output > processing pipeline to extract only what we need. Ah yes, it is the "normal

Re: Restructured text parsing not showing h1 levels.

2007-04-02 Thread Jonathan Buchanan
Michael Lake wrote: > Hi all > > I have a problem I think when I use the markup package. This provides > markdown, > textile and restructuredtext markups. I have the following in views.py: > > def testwiki: > > content = ''' > Restructured Text Test > == > > How de

Re: Restructured text parsing not showing h1 levels.

2007-04-02 Thread James Bennett
On 4/2/07, Michael Lake <[EMAIL PROTECTED]> wrote: > I'll probably have to look at extending Markdown and potter back here and ask > questions when I get stuck. If you want to use ReST, remember that the Django template filter is not the only way to use it -- you could easily write your own

Re: Restructured text parsing not showing h1 levels.

2007-04-01 Thread Michael Lake
Hi > On Mon, 2007-04-02 at 15:24 +1000, Michael Lake wrote: > >>Hi all >>I have a problem I think when I use the markup package. This provides >>markdown, >>textile and restructuredtext markups. I have the following in views.py: >> >>def testwiki: >> >> content = ''' >>Restructured Text

Re: Restructured text parsing not showing h1 levels.

2007-04-01 Thread Malcolm Tredinnick
On Mon, 2007-04-02 at 15:24 +1000, Michael Lake wrote: > Hi all > > I have a problem I think when I use the markup package. This provides > markdown, > textile and restructuredtext markups. I have the following in views.py: > > def testwiki: > > content = ''' > Restructured Text Test >

Restructured text parsing not showing h1 levels.

2007-04-01 Thread Michael Lake
Hi all I have a problem I think when I use the markup package. This provides markdown, textile and restructuredtext markups. I have the following in views.py: def testwiki: content = ''' Restructured Text Test == How de do. Sub Heading --- Hi ''' return