Code Monkey home page Code Monkey logo

markdown-toolbar's Introduction

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.

markdown-toolbar's People

Contributors

alanhohn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.