Learn the source code for marktext(https://github.com/marktext/marktext) and try to make it into a web editor .
MIT License
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.
# 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
I try npm run build:web
success version v0.0.1
and v0.0.2
of Marktext , Just a few small changes.
Since it is difficult to install some modules between 0.0.1 and 0.7.17, switch directly to version 0.7.17.
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: