An open API service indexing awesome lists of open source software.

https://github.com/v2e4lisp/md-editor

A markdown editor with preview in you browser.
https://github.com/v2e4lisp/md-editor

Last synced: 18 days ago
JSON representation

A markdown editor with preview in you browser.

Awesome Lists containing this project

README

          

# MD-editor
Inspired by this post: [One line browser notepad](https://coderwall.com/p/lhsrcq)
And many thanks to this [piece of code](http://pastebin.com/raw.php?i=NzbtwjEy)
and [this](https://github.com/GoogleChrome/chrome-app-samples/tree/master/text-editor).
Actually this app is just a combination of the codes above. It's all messd up.
I'll try to make them decent in the near future or maybe you can help me. :)

---

## Useage:

* Open the md-editor.html file
* For Mac
* Command-L: load file
* Command-S: save/save-as file
* For Windows
* Ctrl-L: load file
* Ctrl-S: save/save-as file
* Tricks
* C-p: move to the previous line
* C-n: move to the next line
* C-f: move forward a character
* C-b: move backward a character
* C-a: move to the beginning of the line
* C-e: move to the end of the line
* C-d: delete forward
* C-h: delete backward
* C-k: delete the rest of the line
* And others

## TODO:

- make a chrome extension or something? (doing)
- Connnect to google driver?