markdown_editor
·/markdown is the directory for electron with react
command tips
initiate command
// init react app
create-react-app markdown_editor
// install electron
cnpm install -save electron
deploy commands
// set npm proxy
npm install -g cnpm --registry=https://registry.npm.taobao.org
// install dependency
cnpm install
// start project
cnpm start
cnpm run electron
Features(WIP)
Base Features
- Markdwon Parser: Parse markdown content to HTML.
- Test Parser, see if it works as we wanted, see gfm for reference.
- UI and UX(code highlight included)
- Export to other format(HTML, PDF, PNG...)
- Tag support
- Content search support
- Image upload(maybe PicGo or build from scratch)
- Chart support(what about mermaid.js?)
Further more
- Theme
- Video and Audio support
- Share support(provide a simple server to host generated html file or raw markdown, maybe a docker image)
- Edit history support
- A better way to write tables(tables in markdown is so annoying, no ideas yet...)
Reference
- markdown-js high star origin js project
- MDE ts project based on electron with international switch