GithubHelp home page GithubHelp logo

so-dopamine / markdown-buttons Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jswanner/markdown-buttons

0.0 0.0 0.0 388 KB

Buttons that apply/remove Markdown syntax to selected text in input fields

Home Page: http://jacobswanner.com/markdown-buttons/

License: MIT License

JavaScript 91.35% HTML 8.65%

markdown-buttons's Introduction

markdown-buttons

Build Status

Buttons that apply/remove Markdown syntax to selected text in input fields.

Installation

$ ember install markdown-buttons

Usage

{{#markdown-bold action=(action (mut value)) for="input"}}Bold{{/markdown-bold}}
{{#markdown-italic action=(action (mut value)) for="input"}}Italic{{/markdown-italic}}
{{#markdown-link action=(action (mut value)) for="input"}}Link{{/markdown-link}}
{{#markdown-quote action=(action (mut value)) for="input"}}Quote{{/markdown-quote}}
{{#markdown-code action=(action (mut value)) for="input"}}Code{{/markdown-code}}
{{#markdown-h1 action=(action (mut value)) for="input"}}H1{{/markdown-h1}}
{{#markdown-h2 action=(action (mut value)) for="input"}}H2{{/markdown-h2}}
{{#markdown-h3 action=(action (mut value)) for="input"}}H3{{/markdown-h3}}
{{#markdown-h4 action=(action (mut value)) for="input"}}H4{{/markdown-h4}}
{{#markdown-h5 action=(action (mut value)) for="input"}}H5{{/markdown-h5}}
{{#markdown-h6 action=(action (mut value)) for="input"}}H6{{/markdown-h6}}
<br/>
{{textarea cols="50" id="input" rows="10" value=(readonly value)}}

Contributing

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://ember-cli.com/.

markdown-buttons's People

Contributors

jswanner avatar ember-tomster 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.