Sha256: faa0837050660c64394c7be7987ca56f4008f9f845cda44bf68d0d1b353f818c

Contents?: true

Size: 1012 Bytes

Versions: 4

Compression:

Stored size: 1012 Bytes

Contents

MarkdownToolbar.buttons = [
  {title: 'Bold',          type: 'wrapper',  left: '**', right: '**', id: 'bold'},
  {title: 'Italic',        type: 'wrapper',  left: '*',  right: '*',  id: 'italic'},
  {id: 'delimiter'},
  {title: 'H1',            type: 'wrapper',  left: '# ', right: ' #', id: 'heading_1'},
  {title: 'H2',            type: 'wrapper',  left: '# ', right: ' #', id: 'heading_2'},
  {title: 'H3',            type: 'wrapper',  left: '# ', right: ' #', id: 'heading_3'},
  {id: 'delimiter'},
  {title: 'Bulleted list', type: 'prefixer', left: '- ',              id: 'list_bullets'},
  {title: 'Numbered list', type: 'list_numbers', id: 'list_numbers'},  
  {title: 'Blockquote',    type: 'prefixer', left: '> ',              id: 'blockquote'},
  // Code:
  {title: 'Source Code',   type: 'block_wrapper',   left: "```\n", right: "\n```", id: 'code'},  
  {id: 'delimiter'},
  {title: 'Image',         type: 'image',        id: 'image'},
  {title: 'Link',          type: 'link',         id: 'link'},
];

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
markdown-toolbar-1.0.1 app/assets/javascripts/markdown-toolbar-buttons.js
markdown-toolbar-1.0.0 app/assets/javascripts/markdown-toolbar-buttons.js
markdown-toolbar-0.2.4 vendor/assets/javascripts/markdown-toolbar-buttons.js
markdown-toolbar-0.2.3 vendor/assets/javascripts/markdown-toolbar-buttons.js