md-editor is a markdown-it based markdown editor
Link: https://songlh.top/md-editor/
- Menu Edit Button
- Code Block Theme Switch
- Sync scrolling
- Generate toc list
- Content state local cache
- Multi file tree records
- Download and upload file
- Support UML and Katex syntax
git clone https://github.com/LHRUN/md-editor.git
pnpm install
pnpm dev
├─components
│ ├─icons
│ ├─multiFile // Multi file drawer
│ └─toolbar // Top Menu
│
├─context
│ ├─file // multi file provider
│ └─index // app provider
│
├─hooks
│ └─event.ts // event hook
│
├─views
│ └─editor // editor page
│
└─utils
├─constants
├─common
├─editor // editor utils
├─md // markdown-it instance
├─scroll // sync scroll
├─storage // local cache
├─multiFile
└─toc