marktext2web

Learn the source code for marktext(https://github.com/marktext/marktext) and try to make it into a web editor .

MIT License

Stars
4

marktext2web

Marktext is a great desktop markdown editor, and I wanted to try it out on the web.

I am a JS novice, hope more people to improve the project together.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run all tests
npm test

Other

Current: Marktext v0.0.1

I try npm run build:websuccess version v0.0.1 and v0.0.2of Marktext , Just a few small changes.

Todoing: Marktext v0.7.17

Since it is difficult to install some modules between 0.0.1 and 0.7.17, switch directly to version 0.7.17.

Todoing: Marktext v0.14.0

finshed v0.7.17: ipc & menu ;

I took a look at the rest of the code, and found it to be quite different from the 0.7 version structure, so I went straight from the back.

TODO:

  • Create a module that mimics electron communication;
  • Generate vue Menu component according to menu.js (to achieve minimum changes in the source code) ;
    image