edit in place - splitting a markdown text according to headers
Alexandre Leray
newsletters at alexandreleray.com
Fri Aug 5 18:44:50 EDT 2011
Hi and thanks for your reply,
I worked around this by splitting the source into chunks before
conversion. It is not a markdown extension but it makes the deal!
Best,
Alex
Le jeu. 04 août 2011 00:42:23 CEST, Waylan Limberg a écrit :
> On Wed, Aug 3, 2011 at 6:15 PM, Alexandre Leray
> <newsletters at alexandreleray.com> wrote:
>> Hi,
>>
>> I'd like to implement an edit-in-place functionnality for a (python)
>> markdown-based wiki. Does anyone know how I could proceed?
>>
>> I was thinking I could split the markdown file according to h1 headers...
>>
>
> The rss extension [1] which ships with Python-Markdown sorta does
> this. Each section (split by h1) becomes an 'item' in an rss document.
> The extension is old and hasn't been maintained like the rest of the
> library and I don't really recommend it, but a look at the code may
> provide some guidance. However, the more I think about it, I'm not
> really sure how that would be translated to an edit-in-place feature.
>
> [1]: https://github.com/waylan/Python-Markdown/blob/master/markdown/extensions/rss.py
More information about the Markdown-Discuss
mailing list