Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (28 sloc) 1.38 KB

codemirror-anywhere

Write syntax highlighted Markdown in anywhere.

This script also support formatter by prettier

img1

img2

Installation

Install from codemirror-anywhere.user.js

Dependencies:

You need to install Greasemonkey extension before installing this script.

Usage

  1. Focus any <textarea>
  2. Press Cmd+E or Ctrl+E
    • Toggle textarea with CodeMirror
  3. Press Cmd+E or Ctrl+E
    • Restore textarea from CodeMirror

Shortcut

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT