From: Waylan L. <wa...@gm...> - 2011-08-21 00:18:41
|
Interesting. Hope you don't mind, but I just added this to the list of third party extensions. http://www.freewisdom.org/projects/python-markdown/Available_Extensions On Sat, Aug 20, 2011 at 10:02 AM, Alexandre Leray <new...@al...> wrote: > Hi Igor, > > [this][1] might be close to what you are looking for: > > -- Alex > > [1]: > http://git.constantvzw.org/?p=aa.core.git;a=blob;f=aacore/mdx_addsections.py;h=969e520a42b0018a2c4b74889fecc83a7dd7704a;hb=HEAD > > On 20/08/2011 03:19, Igor Galić wrote: >> Hi folks, >> >> I'm working with a CMS which uses (python) Markdown as basis >> and I'm a little unhappy with the styling option that it offers. >> >> We end up with a >> >> <div id="content"> >> $mardowntext >> </div> >> >> And that is quite difficult to style sensibly. >> >> Is there any sane way -- other than wrapping a section with divs >> >> <div class="section"> >> # Header # {#header1} >> Some text here >> </div> >> >> to achieve such an effect? >> I've been contemplating to add an extension for that purpose, >> which creates such section and subsection class divs, but my >> Python-fu is quite poor. >> >> Is anyone aware of such a thing already in existence? Or a >> sensible alternative? Or is putting HTML content the only >> sensible solution? >> >> Thank you for your feedback. >> >> So long, >> i > > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > _______________________________________________ > Python-markdown-discuss mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-markdown-discuss > -- ---- \X/ /-\ `/ |_ /-\ |\| Waylan Limberg |