Markdown2 support, taken from django 1.4.9. Was removed from later versions of django.