From: Yuri T. <qar...@gm...> - 2007-04-10 23:42:06
|
Just wanted to let you guys know that I am reading this, but don't have time to think about it seriously and respond this week. However, from what I see so far, I think Ben identified a real problem and I would love it if you guys could come up with a solution that addresses most of the points that have been brought up so far. Ideally, this solution would maintain backwards compatibility with existing extensions. If not, we can still put it in, but we'll have to think more carefully of when to release it and whether there should be a more general upgrade of how the extension mechanism works. (I.e., I think it's ok to change the extension framework once, but not every day.) - yuri On 4/10/07, Waylan Limberg <wa...@gm...> wrote: > > > Ben Wilson wrote: > [snip] > > PmWiki has a situation where markups may be added willy-nilly while > > maintaining order. It would be rather radical to introduce to > > Markdown(). > > And not very pythonic. I remember the first time I realized how PmWiki > did some very OO like things without OO code. For PHP it was amazing - > and a pleasure to work with. Especially considering PHP's OO sytax. Uhg! > > But if one tried to use PmWiki's approach in python, it would probably > be more work than it's worth. A subclass of dict which maintains order > or a class wrapping a list of tuples would be much less effort -- and > more pythonic. For that matter, it wouldn't all that difficult to build > a class from scratch for such a purpose. > > [snip] > > want the conversion to occur before/after/during another item. I > > mention PmWiki only because I'm very familiar with its approach and > > know its author seeks ease-of-customization. Markdown() generally does > > not mean to be as customizable as it follows the Markdown standard > > format. > > Ahh, now I know why your name seemed so familiar. Although I've been out > of the (PmWIki) loop for about a year now. It is true that Markdown does not > come close to PmWiki. If you're looking for more power, perhaps you > should look at reStructuredText [1]. It seems to be the python default > for markup, is easily extendable [2], and will output LaTex [3]. > Personally, I prefer Markdown for its simplicity, but you seem to want > power which brings more complexity. Imo, using an establish markup > language (rest) is better than building your own custom creation. > > [1]: http://docutils.sourceforge.net/rst.html > [2]: http://docutils.sourceforge.net/docs/howto/rst-directives.html > [3]: http://docutils.sourceforge.net/docs/user/latex.html > > -- > Waylan Limberg > wa...@gm... > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Python-markdown-discuss mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-markdown-discuss > -- Yuri Takhteyev UC Berkeley School of Information http://www.freewisdom.org/ |