Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

Readme.md

Draft

Online markdown editor

Features

  1. Support Standard Markdown and GFM (GitHub Flavored Markdown);
  2. Import and Export to pdf\md\html;
  3. Real-time Preview, Table generate, Code block, search\replace\go to line, Read only, Code syntax highlighting... ;
  4. Support [TOC] (table of content);
  5. OCR (baidu-sdk) and Image link generate (SMMS);
  6. Support KaTex and Twemoji;
  7. Keyboard Shortcuts;

Demo

Let's Try Now!

Usage

# 克隆到本地
$ git clone https://github.com/oddisland/Draft 

# 安装依赖
$ npm install

# 开启热更新服务器,TOC\OCR功能无法使用 -> localhost:8080
$ npm run build

# 打包压缩项目,并输出生产模式文件
$ npm run build:prod

# 打包压缩文件,启用node express,所有功能正常使用 -> localhost:8080
$ npm start

Dependents

Todo

  • Support Flowchart and Sequence Diagram;
  • Auto save;

License

The MIT License.

You can’t perform that action at this time.