Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skyhacker2/nodeace
Node Ace Editor
https://github.com/skyhacker2/nodeace
Last synced: 3 months ago
JSON representation
Node Ace Editor
- Host: GitHub
- URL: https://github.com/skyhacker2/nodeace
- Owner: skyhacker2
- Created: 2014-06-04T14:44:24.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-17T14:04:40.000Z (about 10 years ago)
- Last Synced: 2024-04-13T08:18:46.561Z (7 months ago)
- Language: JavaScript
- Size: 75 MB
- Stars: 13
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-nwjs - Node Ace Editor: skyhacker2/nodeace
README
#Node Ace Editor
###介绍
使用node-webkit封装ace编辑器。使用了:
1. [ace.js](https://github.com/ajaxorg/ace)
2. [require.js](http://requirejs.org/)
3. [artTemplate.js](https://github.com/aui/artTemplate)
4. [jquery](http://jquery.com/)
5. [bootstrap](http://getbootstrap.com/)
6. [marked.js](https://github.com/chjj/marked)##安装
```
npm install
```##编译
修改Gruntfile.js设置需要编译的版本。
```
grunt.initConfig({
nodewebkit: {
options: {
build_dir: './build',
credits: './src/credits.html',
mac: true, // build it for mac
win: false, // build it for win
linux32: false, // build it for linux32
linux64: false, // build it for linux64
},
src: './src/**/*'
},
});```
输入`grunt`进行编译,编译后的版本会在build目录下。
## 不编译运行
直接输入`nw src [filename]`运行。
## 截图
![image](http://git.oschina.net/nov_eleven/photo/raw/master/nodeace.png)###支持markdown预览
![image](http://git.oschina.net/nov_eleven/photo/raw/master/nodeace-md.png)