Html2md
A tiny function created in-house to convert HTML to Markdown format using original JavaScript, which can be used to convert web content from the clipboard into Markdown format.自制的一个体积超小、使用原生 JS 实现将 HTML 转化为 Markdown 格式的小函数,可用于将剪切板的网页内容变成 markdown 格式
Install / Use
/learn @kohunglee/Html2mdREADME
html2md
自制的一个体积超小、使用原生 JS 实现将 HTML 转化为 Markdown 格式的小函数,可用于将剪切板的网页内容变成 markdown 格式
这是两个示例
- HTML 转换 -- https://kohunglee.github.io/html2md/example/conversion.html
- 直接就粘贴成 markdown 格式 -- https://kohunglee.github.io/html2md/example/Paste_and_convert.html
具体使用可查看示例文件夹里的源码
因为制作初期并没有想到会做成完整版,故代码写的比较简单,但对于 99% 的网页,转换绝对够用了。基本上常用的标签都支持了,如果发现缺陷以及感兴趣的话,可以提个 issue ,感谢!
目前暂不支持 Safari 和 iOS 设备平台,因为这它们不支持零点断言这种正则语法,以后有空会优化的。
也暂不支持 WPS 等其他格式的标签语言转换。
目前来看,轻度使用绝对是够了,毕竟不能什么都靠机器,机器已经把 90% 的工作做了,你只需要再微调一下就行了。
Related Skills
qqbot-channel
347.2kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
100.1k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
347.2kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Design
Campus Second-Hand Trading Platform \- General Design Document (v5.0 \- React Architecture \- Complete Final Version)1\. System Overall Design 1.1. Project Overview This project aims t
