{"id":13681993,"url":"https://github.com/helloworld-Co/html2md","last_synced_at":"2025-04-30T06:33:14.911Z","repository":{"id":41103434,"uuid":"336247194","full_name":"helloworld-Co/html2md","owner":"helloworld-Co","description":"helloworld 开发者社区开源的一个轻量级，强大的 html 一键转 md 工具，支持多平台文章一键转换，并保存下载到本地。","archived":false,"fork":false,"pushed_at":"2024-06-01T01:02:35.000Z","size":750,"stargazers_count":730,"open_issues_count":15,"forks_count":191,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-12T17:49:17.163Z","etag":null,"topics":["csdn","html","html-to-markdown","javascript","jsdom","juejin","markdown","markdown-to-html","md","node","nuxt","vue"],"latest_commit_sha":null,"homepage":"https://www.helloworld.net/html2md","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/helloworld-Co.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-02-05T11:06:13.000Z","updated_at":"2025-04-08T04:10:13.000Z","dependencies_parsed_at":"2024-08-02T13:21:28.842Z","dependency_job_id":"2f0a503f-741a-4816-8583-e376cbf428a9","html_url":"https://github.com/helloworld-Co/html2md","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloworld-Co%2Fhtml2md","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloworld-Co%2Fhtml2md/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloworld-Co%2Fhtml2md/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloworld-Co%2Fhtml2md/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helloworld-Co","download_url":"https://codeload.github.com/helloworld-Co/html2md/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251654574,"owners_count":21622336,"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","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":["csdn","html","html-to-markdown","javascript","jsdom","juejin","markdown","markdown-to-html","md","node","nuxt","vue"],"created_at":"2024-08-02T13:01:38.886Z","updated_at":"2025-04-30T06:33:14.524Z","avatar_url":"https://github.com/helloworld-Co.png","language":"JavaScript","readme":"\u003ch1 align=\"center\"\u003e🎉 Html2md 🥳\u003c/h1\u003e\n\n\u003cdiv \u003e\n\n`html2md` 是由 [helloworld开发者社区](https://www.helloworld.net) 开源的一款轻量级功能强大的html转md工具💪🏻，纯前端开发，不需要后端接口（\u003csmall\u003e Node是我们前端的\u003c/small\u003e😗！），支持多平台，一键将文章链接转换为md，方便大家收藏和保存文章🤪。请勿做其它用途\n\n[html2md地址](https://www.helloworld.net/html2md) 👈🏻\n\n### 教程，如下图\n![html2md教程](./demo.png)\n\n\n\u003c/div\u003e\n\u003cbr /\u003e\n\n## 技术栈\n\n- [vue](https://cn.vuejs.org/) 前端三剑客之一，主张最少，具有高度灵活性的渐进式框架\n- [nuxt](https://zh.nuxtjs.org/) 通过利用 Vue.js 和 Node.js最佳实践来构建高性能应用程序\n- [express](https://www.expressjs.com.cn/) 基于 Node.js 平台，快速、开放、极简的 Web 开发框架\n- [element-ui](https://element.eleme.cn/#/zh-CN) 宇宙第一 Vue 第三方组件库，有不服？\n- [js-dom](https://github.com/jsdom/jsdom) 一款可在 Node 环境下模拟浏览器的 API 的库\n- [turndown](https://github.com/domchristie/turndown) 使用 JavaScript 将 HTML 转换为 Markdown\n- [axios](http://www.axios-js.com/) 易用、简洁且高效的 http库，支持浏览器和 Node 环境。\n- [mavon-editor](https://github.com/hinesboy/mavonEditor) 一款基于 Vue 的 markdown 编辑器，支持所见即所得\n- [sass](https://www.sass.hk/) 强大的 Css 预处理器之一\n## 使用\n\n\u003e 注意：node 版本要求： v14.18.0  \n\n### 第一步：下载\n```bash\ngit clone git@github.com:helloworld-Co/html2md.git\ncd ./html2md\n```\n### 第二步：安装\n```bash\nnpm install\n或者\nyarn install\n```\n### 第三步：启动\n```bash\nnpm run dev\n或者\nyarn dev\n```\n\n## 使用备注\n- **防盗链**：由于各大网站的图片基本都会有防盗链机制，转换出来的 md 里的图片会无法正常预览，这个不慌 😳，把 md 内容复制到 [helloworld开发者社区](https://www.helloworld.net) 的写作文本框中就能正常显示了👌🏻。\n- **微信文章**：微信文章内容格式差异性比较大，不能保证 💯% 好使，如果一篇不能解决，那就换下一篇吧😏。\n\n## 更新日志\n- **2021.02.07**\n1. 新增 `a` 标签和 `img` 标签中的`相对路径`转换成`绝对路径`功能，方便以后查找源路径。\n- **2021.03.27**\n1. 底部添加转载来源声明。\n- **2021.04.20**\n1. 添加对知乎专栏文章的支持👌🏻。\n- **2021.05.01**\n1. 添加 Markdown 内容的文件保存和下载⬇️。\n- **2021.06.27**\n1. 添加 HTML 直接转 Markdown 功能，和之前的 URL 转 Markdown 区分开来，可切换使用。\n- **2021.07.10**\n1. 添加对 learnku 文章的支持👌🏻。\n\n\n## 技术交流群 / 官方公众号\n微信号 **daitukeji**\n\u003cbr/\u003e\n\u003cimg src=\"./wx-group.png\" width = \"200\" alt=\"官方微信群\" /\u003e\n\u003cimg src=\"./wx.png\" width = \"200\" alt=\"官方公众号\" /\u003e\n\n## 支持环境\n\n现代浏览器及 IE11。\n\n| [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png\" alt=\"IE / Edge\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eIE / Edge | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png\" alt=\"Firefox\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eFirefox | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png\" alt=\"Chrome\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eChrome | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png\" alt=\"Safari\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eSafari | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png\" alt=\"Opera\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eOpera |\n| --------- | --------- | --------- | --------- | --------- |\n| IE11, Edge| last 2 versions| last 2 versions| last 2 versions| last 2 versions\n\n## 参与贡献\n\n我们非常欢迎你的贡献，你可以通过以下方式和我们一起共建 😃\n\n- 通过 [Issue](https://github.com/helloworld-Co/html2md/issues) 报告 bug。\n- 提交 [Pull Request](https://github.com/helloworld-Co/html2md/pulls) 一起改进。\n\n## 技术交流\n\u003cimg src=\"./daitu.jpg\" width=240 /\u003e\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloworld-Co%2Fhtml2md","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelloworld-Co%2Fhtml2md","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloworld-Co%2Fhtml2md/lists"}