changeset 360:2e90b63520b8

Trying to fix #180 again. Changed the syntax for strikethrough to 3 dashes to make it less harder to do accidently.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 Mar 2011 02:30:53 +0000
parents e877b9c05740
children 6d6fdc58487c
files static/js/markitup/sets/markdown/set.js tools/mdx_del.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/static/js/markitup/sets/markdown/set.js	Sat Mar 05 02:00:13 2011 +0000
+++ b/static/js/markitup/sets/markdown/set.js	Sat Mar 05 02:30:53 2011 +0000
@@ -20,7 +20,7 @@
 	markupSet: [
 		{name:'Bold', key:'B', openWith:'**', closeWith:'**'},
 		{name:'Italic', key:'I', openWith:'_', closeWith:'_'},
-		{name:'Strike', key:'S', openWith:'--', closeWith:'--'},
+		{name:'Strike', key:'S', openWith:'---', closeWith:'---'},
 		{separator:'---------------' },
 		{name:'Bulleted List', openWith:'- ' },
 		{name:'Numeric List', openWith:function(markItUp) {
--- a/tools/mdx_del.py	Sat Mar 05 02:00:13 2011 +0000
+++ b/tools/mdx_del.py	Sat Mar 05 02:30:53 2011 +0000
@@ -6,7 +6,7 @@
 import markdown
 
 
-DEL_RE = r'(--)(.*?)--'
+DEL_RE = r'(---)(.*?)---'
 
 class DelExtension(markdown.Extension):