comparison static/js/markitup/sets/markdown/set.js @ 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 f54bf3b3bece
children ad69236e8501
comparison
equal deleted inserted replaced
359:e877b9c05740 360:2e90b63520b8
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 {name:'Strike', key:'S', openWith:'---', closeWith:'---'},
24 {separator:'---------------' }, 24 {separator:'---------------' },
25 {name:'Bulleted List', openWith:'- ' }, 25 {name:'Bulleted List', openWith:'- ' },
26 {name:'Numeric List', openWith:function(markItUp) { 26 {name:'Numeric List', openWith:function(markItUp) {
27 return markItUp.line+'. '; 27 return markItUp.line+'. ';
28 }}, 28 }},