Markgiu is a very simple markdown editor, based on node-webkit.
This is my first experiment with node-webkit, and it leverages some popular js libraries that I commonly use in the browser, client side.
The code is very simple, it is based on a couple of knockoutjs View-Models (less than 500 lines of js+css+html code for the whole app, assets excluded).
See "powered by" section down here for a full listing of used libraries.
Markgiu has no native node dependencies, so it should be usable on any platform supported by node-webkit itself.
Features so far:
- open and save files from local filesystem
- html preview
- multiple documents
- detects content changes
- basic support for adding a document with a wiki-style syntax
This README was created and edited with Markgiu :)
This project does not aim to be a full-featured markdown editor. Use it at your own risk and abuse the code base at your wish.
Installation and usage
This is a node webkit-app, see: https://github.com/rogerwang/node-webkit/wiki/How-to-run-apps
Download the source of node-webkit or a binary distribution for your platform from https://github.com/rogerwang/node-webkit
clone this repo:
git clone https://github.com/bianchimro/markgiu.git
run on Mac:
open -n -a node-webkit markgiu/app
run on Linux or Windows:
Pull requests welcome :)
A main concern is that testing is totally uncovered, suggestions and contributions are welcome.
- node-webkit for delivering to your Desktop and accessing your filesystem
- the ubiquitous jquery for DOM magic
- knockoutjs for ui bindings
- Twitter bootstrap for css/js ui
- Font-awesome iconic font by Dave Gandy
- bootbox for bootstrap themed js dialogs
- ace editor a full-featured code editor for the web
- showdown.js for markdown generation
This code is released under the MIT license, see the file LICENSE.md.