For backwards compatibility purposes, it should probably behave exactly as it does now by default. That is, uses the markdown module if it is installed. There's no guarantee that markdown2 and markdown will produce exactly the same output in all cases (in fact, they don't).

Given how trivial it is to write a filter like this, it's not completely clear we need to include this, but it's not too harmful, providing it's the second option chosen.

Legend:

This is a patch to allow the usage of the [http://code.google.com/p/python-markdown2/ python-markdown2] library in place of the original markdown library. They claim [http://code.google.com/p/python-markdown2/wiki/PerformanceNotes better performance] but I just believe it should be an option.

1

This is a patch to allow the usage of the [http://code.google.com/p/python-markdown2/ python-markdown2] library in place of the original markdown library. They claim [http://code.google.com/p/python-markdown2/wiki/PerformanceNotes better performance] but I just believe it should be an option. (so if somebody really wants markdown2, they make sure markdown isn't on the Python path)