Code Monkey home page Code Monkey logo

nodeace's Introduction

#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

nodeace's People

Contributors

skyhacker2 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.