Skip to content

Commit

Permalink
Remove shortcuts on markitup
Browse files Browse the repository at this point in the history
  • Loading branch information
nono committed Nov 1, 2012
1 parent 3198d1a commit f109958
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions vendor/assets/javascripts/markitup-markdown.js
Expand Up @@ -23,21 +23,21 @@ window.markItUpSettings = {
onTab: { keepDefault: true },
onShiftEnter: { keepDefault: false, openWith: '\n\n' },
markupSet: [
{ name: 'First Level Heading', key: '1', placeHolder: 'Votre titre', className: 'h1', closeWith: function(m) { return miu.markdownTitle(m, '='); } },
{ name: 'Second Level Heading', key: '2', placeHolder: 'Votre titre', className: 'h2', closeWith: function(m) { return miu.markdownTitle(m, '-'); } },
{ name: 'Heading 3', key: '3', openWith: '### ', placeHolder: 'Votre titre', className: 'h3' },
{ name: 'Heading 4', key: '4', openWith: '#### ', placeHolder: 'Votre titre', className: 'h4' },
{ name: 'First Level Heading', placeHolder: 'Votre titre', className: 'h1', closeWith: function(m) { return miu.markdownTitle(m, '='); } },
{ name: 'Second Level Heading', placeHolder: 'Votre titre', className: 'h2', closeWith: function(m) { return miu.markdownTitle(m, '-'); } },
{ name: 'Heading 3', openWith: '### ', placeHolder: 'Votre titre', className: 'h3' },
{ name: 'Heading 4', openWith: '#### ', placeHolder: 'Votre titre', className: 'h4' },
{ separator: '---------------' },
{ name: 'Bold', key: 'B', openWith: '**', closeWith: '**', className: 'bold' },
{ name: 'Italic', key: 'I', openWith: '_', closeWith: '_', className: 'italic' },
{ name: 'Stroke', key: 'S', openWith: '~~', closeWith: '~~', className: 'stroke' },
{ name: 'Teletype', key: 'T', openWith: '`', closeWith: '`', className: 'teletype' },
{ name: 'Bold', openWith: '**', closeWith: '**', className: 'bold' },
{ name: 'Italic', openWith: '_', closeWith: '_', className: 'italic' },
{ name: 'Stroke', openWith: '~~', closeWith: '~~', className: 'stroke' },
{ name: 'Teletype', openWith: '`', closeWith: '`', className: 'teletype' },
{ separator: '---------------' },
{ name: 'Bulleted List', openWith: '- ', className: 'list-bullet'},
{ name: 'Numeric List', className: 'list-numeric', openWith: function(m) { return m.line + '. '; } },
{ separator: '---------------' },
{ name: 'Picture', key: 'P', openWith: '![', closeWith: ']([![Url:!:http://]!])', placeHolder: "Titre de l'image", className: 'image' },
{ name: 'Link', key: 'L', openWith: '[', closeWith: ']([![Url:!:http://]!])', placeHolder: 'Texte du lien', className: 'link' },
{ name: 'Picture', openWith: '![', closeWith: ']([![Url:!:http://]!])', placeHolder: "Titre de l'image", className: 'image' },
{ name: 'Link', openWith: '[', closeWith: ']([![Url:!:http://]!])', placeHolder: 'Texte du lien', className: 'link' },
{ separator: '---------------' },
{ name: 'Quotes', openWith: '> ', className: 'quotes' },
{ name: 'Code Block', className: 'code', replaceWith: function(m) { return m.selection.replace(/^/mg, " "); } }
Expand Down

0 comments on commit f109958

Please sign in to comment.