oddisland / Draft

:black_small_square:Online markdown editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

:black_small_square:Online markdown editor

License:MIT License


Languages

Language:JavaScript 52.5%Language:CSS 39.5%Language:HTML 8.0%