From: Alexandre L. <new...@al...> - 2011-08-20 14:20:07
|
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 |