Skip to content
▪️Online markdown editor
JavaScript CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist feat: Add Katex renderer; Jun 17, 2018
example feat: CHANGELOG (06/17) Jun 17, 2018
languages feat: CHANGELOG (05/28) May 28, 2018
slide
src feat: Add Katex renderer; Jun 17, 2018
.gitignore Initial commit May 13, 2018
CHANGELOG.md
LICENSE Initial commit May 13, 2018
Readme.md docs: Updata readme Jun 17, 2018
package-lock.json feat: CHANGELOG (06/17) Jun 17, 2018
package.json feat: CHANGELOG (06/17) Jun 17, 2018
webpack.config.js feat: CHANGELOG (06/17) Jun 17, 2018

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.