Skip to content
Brackets extension that adds Markdown editing support via a toolbar
Branch: master
Clone or download
Latest commit 5b25ce3 Oct 19, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
nls add image and link support Sep 30, 2016
styles paragraph reflow Mar 22, 2016
templates add image and link support Sep 30, 2016
.gitignore README for release 1.0.0 Mar 31, 2016
LICENSE Create LICENSE Mar 11, 2016
README.md README.md typo Oct 19, 2017
dialogs.js add image and link support Sep 30, 2016
handler.js add image and link support Sep 30, 2016
keyboard.json remove keyboard shortcuts for H5 and H6 Aug 4, 2016
lines.js
main.js add image and link support Sep 30, 2016
package.json release 1.2.0 Sep 30, 2016
paragraphs.js
selections.js Initial implementation of selection buttons (bold, italic, strikethro… Mar 18, 2016
strings.js Initial Mar 9, 2016

README.md

markdown-toolbar

Brackets extension that adds Markdown editing support via a toolbar.

Features

Formatting

  • Heading (H1 - H6) toggles
  • Numbered and unnumbered lists
  • Bold, italic, monospace, strikethrough. Work as toggles, though they are a little picky about the selection in order to toggle off.
  • Images and links
  • Code blocks
  • Buttons do sensible things with no selection, single selection, or multiple selections.

Converting to Markdown

  • Separate paragraphs: Adds a blank line between paragraphs. This is very handy for reformatting text pasted from a non-Markdown source such as a word processor. By its nature it can only be applied once, so it's important to control the selection.
  • Reflow: Reformats a paragraph to add hard line breaks to keep lines under a maximum length. Handles lists well, so it's pretty safe to apply it to a whole document. It is safe to apply multiple times or to reapply to a paragraph that is already partially correct. It does not handle tables well, so keep it away from those.

Planned Features

  • Add a button and a GUI to insert a Markdown table
  • Make reflow smart about tables

Preferences

  • markdownbar.showOnStartup: Display the toolbar when Brackets starts, default false
  • markdownbar.maxLength: Maximum line length used for reflow, default 80

Example:

{
    ...
    "markdownbar.showOnStartup": true,
    "markdownbar.maxLength": 75
}

Attribution

Icons from Octicons.

You can’t perform that action at this time.