diff gpp/core/markup.py @ 356:f54bf3b3bece

Fix 180; Add strikethrough capability to markdown via an extension. Also control in SVN the extensions we are using.
author Brian Neal <bgneal@gmail.com>
date Fri, 04 Mar 2011 02:10:37 +0000
parents 6a686ffb6609
children
line wrap: on
line diff
--- a/gpp/core/markup.py	Fri Mar 04 01:34:43 2011 +0000
+++ b/gpp/core/markup.py	Fri Mar 04 02:10:37 2011 +0000
@@ -19,7 +19,7 @@
         # exists only in markdown v1.6.2rc-2 or above.
         self.unicode_support = getattr(_markdown, "version_info", None) >= (1, 7)
         self.md = _markdown.Markdown(safe_mode=safe_mode,
-                                extensions=['urlize', 'nl2br'])
+                                extensions=['urlize', 'nl2br', 'del'])
 
     def convert(self, s):
         if self.unicode_support: