bgneal@312: // ----------------------------------------------------------------------------
bgneal@312: // markItUp!
bgneal@312: // ----------------------------------------------------------------------------
bgneal@466: // Copyright (C) 2011 Jay Salvat
bgneal@312: // http://markitup.jaysalvat.com/
bgneal@312: // ----------------------------------------------------------------------------
bgneal@312: // Html tags
bgneal@312: // http://en.wikipedia.org/wiki/html
bgneal@312: // ----------------------------------------------------------------------------
bgneal@312: // Basic set. Feel free to add more tags
bgneal@312: // ----------------------------------------------------------------------------
bgneal@466: var mySettings = {
bgneal@312: onShiftEnter: {keepDefault:false, replaceWith:'
\n'},
bgneal@312: onCtrlEnter: {keepDefault:false, openWith:'\n
', closeWith:'
'}, bgneal@312: onTab: {keepDefault:false, replaceWith:' '}, bgneal@312: markupSet: [ bgneal@312: {name:'Bold', key:'B', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' }, bgneal@312: {name:'Italic', key:'I', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' }, bgneal@312: {name:'Stroke through', key:'S', openWith:'