comparison static/js/markitup/sets/markdown/set.js @ 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 88b2b9cb8c1f
children 2e90b63520b8
comparison
equal deleted inserted replaced
355:a1e3724f0799 356:f54bf3b3bece
18 previewPosition: 'after', 18 previewPosition: 'after',
19 onShiftEnter: {keepDefault:false, openWith:'\n\n'}, 19 onShiftEnter: {keepDefault:false, openWith:'\n\n'},
20 markupSet: [ 20 markupSet: [
21 {name:'Bold', key:'B', openWith:'**', closeWith:'**'}, 21 {name:'Bold', key:'B', openWith:'**', closeWith:'**'},
22 {name:'Italic', key:'I', openWith:'_', closeWith:'_'}, 22 {name:'Italic', key:'I', openWith:'_', closeWith:'_'},
23 {name:'Strike', key:'S', openWith:'--', closeWith:'--'},
23 {separator:'---------------' }, 24 {separator:'---------------' },
24 {name:'Bulleted List', openWith:'- ' }, 25 {name:'Bulleted List', openWith:'- ' },
25 {name:'Numeric List', openWith:function(markItUp) { 26 {name:'Numeric List', openWith:function(markItUp) {
26 return markItUp.line+'. '; 27 return markItUp.line+'. ';
27 }}, 28 }},