comparison 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
comparison
equal deleted inserted replaced
1665:c7cc251e08bd 1666:fa66e4447d63
804 """ ReStructured Text markup """ 804 """ ReStructured Text markup """
805 contenttype = 'text/x-rst' 805 contenttype = 'text/x-rst'
806 806
807 807
808 @register 808 @register
809 class Markdown(MarkupItem):
810 """ Markdown markup """
811 contenttype = 'text/x-markdown'
812
813
814 @register
809 class HTML(Text): 815 class HTML(Text):
810 """ 816 """
811 HTML markup 817 HTML markup
812 818
813 Note: As we use html_in converter to convert this to DOM and later some 819 Note: As we use html_in converter to convert this to DOM and later some