diff MoinMoin/items/content.py @ 1666:fa66e4447d63

add markdown converter, thanks to Andreas Kloeckner
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 13 Aug 2012 00:34:15 +0200
parents 5dc142ab43d2
children 347d11826f95
line wrap: on
line diff
--- a/MoinMoin/items/content.py	Sun Aug 12 15:32:28 2012 +0800
+++ b/MoinMoin/items/content.py	Mon Aug 13 00:34:15 2012 +0200
@@ -806,6 +806,12 @@
 
 
 @register
+class Markdown(MarkupItem):
+    """ Markdown markup """
+    contenttype = 'text/x-markdown'
+
+
+@register
 class HTML(Text):
     """
     HTML markup