Skip to content

skyhacker2/nodeace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Node Ace Editor

###介绍 使用node-webkit封装ace编辑器。

使用了:

  1. ace.js
  2. require.js
  3. artTemplate.js
  4. jquery
  5. bootstrap
  6. marked.js

##安装

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

###支持markdown预览 image

About

Node Ace Editor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published