comparison media/js/markitup/sets/markdown/set.js @ 304:0231aad9e211

Fixing #123; removed the H1-H6 buttons from the markitup editor.
author Brian Neal <bgneal@gmail.com>
date Sat, 15 Jan 2011 21:11:50 +0000
parents 5b69d6e01fd4
children d502a997360e
comparison
equal deleted inserted replaced
303:2e027f21f5ea 304:0231aad9e211
16 previewInWindow: false, 16 previewInWindow: false,
17 previewAutoRefresh: false, 17 previewAutoRefresh: false,
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:'First Level Heading', key:'1', placeHolder:'Your title here...', closeWith:function(markItUp) { return miu.markdownTitle(markItUp, '=') } },
22 {name:'Second Level Heading', key:'2', placeHolder:'Your title here...', closeWith:function(markItUp) { return miu.markdownTitle(markItUp, '-') } },
23 {name:'Heading 3', key:'3', openWith:'### ', placeHolder:'Your title here...' },
24 {name:'Heading 4', key:'4', openWith:'#### ', placeHolder:'Your title here...' },
25 {name:'Heading 5', key:'5', openWith:'##### ', placeHolder:'Your title here...' },
26 {name:'Heading 6', key:'6', openWith:'###### ', placeHolder:'Your title here...' },
27 {separator:'---------------' },
28 {name:'Bold', key:'B', openWith:'**', closeWith:'**'}, 21 {name:'Bold', key:'B', openWith:'**', closeWith:'**'},
29 {name:'Italic', key:'I', openWith:'_', closeWith:'_'}, 22 {name:'Italic', key:'I', openWith:'_', closeWith:'_'},
30 {separator:'---------------' }, 23 {separator:'---------------' },
31 {name:'Bulleted List', openWith:'- ' }, 24 {name:'Bulleted List', openWith:'- ' },
32 {name:'Numeric List', openWith:function(markItUp) { 25 {name:'Numeric List', openWith:function(markItUp) {