http://www.freewisdom.org/projects/python-markdown/

That is the original python markdown library. Markdown2 is a rewrite of this
library, the author explains his reasoning as it runs faster, and the author
details that it is "more complete" and closer to the perl version. However
since he ran these original tests, python-markdown has had significant
improvement, on my local machine, using the tests from markdown2, the speed
is relatively the same, and both pass all tests.

There are some good things about python-markdown is that it has more plugins
(extras), such as table of contents, markdown tables, fenced code blocks (i
dislike how markdown uses tabs), and a more advanced syntax highlighter.
Since markdown2 is a rewrite, I don't know if it provides the same api for
writing extensions, if so it is not documented.

Not saying web2py should switch, I was just curious why one was chosen over
the other, nothing stops me from using the original markdown for my personal
projects :)

-Thadeus




On Thu, Dec 17, 2009 at 1:37 AM, mdipierro <[email protected]> wrote:

> my understanding, perhaps incorrect, is that markdown is written in
> Perl and markdown2 is the Python port.
>
> Massimo
>
> On Dec 17, 1:30 am, Thadeus Burgess <[email protected]> wrote:
> > Why does web2py choose markdown2 as the default library instead of the
> > markdown library?
> >
> > The markdown library offers more interesting extras/add-ons that
> markdown2
> > has yet to implement.
> >
> > -Thadeus
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<web2py%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/web2py?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to