{"id":21187550,"url":"https://github.com/lhrun/md-editor","last_synced_at":"2025-10-29T07:10:17.731Z","repository":{"id":167911630,"uuid":"542117222","full_name":"LHRUN/md-editor","owner":"LHRUN","description":"md-editor is a markdown-it based markdown editor, including sync scrolling, multi file record,upload and download, generate toc, menu edit btn, code block theme switch, content state local cache...","archived":false,"fork":false,"pushed_at":"2023-03-12T14:37:50.000Z","size":505,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T09:41:52.176Z","etag":null,"topics":["editor","markdown","markdown-editor","markdown-it","markdown-viewer","notes-app"],"latest_commit_sha":null,"homepage":"https://songlh.top/md-editor/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LHRUN.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-27T14:05:43.000Z","updated_at":"2025-03-09T14:49:24.000Z","dependencies_parsed_at":"2023-06-15T15:15:30.734Z","dependency_job_id":null,"html_url":"https://github.com/LHRUN/md-editor","commit_stats":null,"previous_names":["lhrun/md-editor"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/LHRUN/md-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LHRUN%2Fmd-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LHRUN%2Fmd-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LHRUN%2Fmd-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LHRUN%2Fmd-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LHRUN","download_url":"https://codeload.github.com/LHRUN/md-editor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LHRUN%2Fmd-editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281578144,"owners_count":26524950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-29T02:00:06.901Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["editor","markdown","markdown-editor","markdown-it","markdown-viewer","notes-app"],"created_at":"2024-11-20T18:37:34.029Z","updated_at":"2025-10-29T07:10:17.726Z","avatar_url":"https://github.com/LHRUN.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003emd-editor\u003c/h1\u003e\n\u003cdiv align=\"center\"\u003e\n\n  md-editor is a markdown-it based markdown editor\n\n\u003c/div\u003e\n\n## Preview\n\nLink: [https://songlh.top/md-editor/](https://songlh.top/md-editor/)\n\n![](https://s1.ax1x.com/2023/02/14/pST4lJP.png)\n\u003c!-- \u003cdiv align=\"left\"\u003e\n   \u003cimg src=\"https://s1.ax1x.com/2023/02/07/pS2MWff.png\"  height=340\u003e\n   \u003cimg src=\"https://s1.ax1x.com/2023/02/07/pS2MRtP.png\" height=340\u003e\n\u003c/div\u003e --\u003e\n\n## Document\n\n[基于markdown-it打造的markdown编辑器](https://songlh.top/2022/10/12/%E5%9F%BA%E4%BA%8Emarkdown-it%E6%89%93%E9%80%A0%E7%9A%84markdown%E7%BC%96%E8%BE%91%E5%99%A8/)\n\n## Features\n- [x] Menu Edit Button\n- [x] Code Block Theme Switch\n- [x] Sync scrolling\n- [x] Generate toc list\n- [x] Content state local cache\n- [x] Multi file tree records\n- [x] Download and upload file\n- [x] Support UML and Katex syntax\n\n## Getting Started\n```\ngit clone https://github.com/LHRUN/md-editor.git\npnpm install\npnpm dev\n```\n\n## File List\n```js\n├─components        \n│  ├─icons\n│  ├─multiFile // Multi file drawer\n│  └─toolbar // Top Menu\n│\n├─context        \n│  ├─file // multi file provider\n│  └─index // app provider\n│\n├─hooks\n│  └─event.ts // event hook\n│\n├─views\n│  └─editor // editor page\n│\n└─utils\n   ├─constants\n   ├─common\n   ├─editor // editor utils\n   ├─md // markdown-it instance\n   ├─scroll // sync scroll\n   ├─storage // local cache\n   ├─multiFile\n   └─toc\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flhrun%2Fmd-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flhrun%2Fmd-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flhrun%2Fmd-editor/lists"}