helloworld-co / html2md Goto Github PK
View Code? Open in Web Editor NEWhelloworld 开发者社区开源的一个轻量级,强大的 html 一键转 md 工具,支持多平台文章一键转换,并保存下载到本地。
Home Page: https://www.helloworld.net/html2md
helloworld 开发者社区开源的一个轻量级,强大的 html 一键转 md 工具,支持多平台文章一键转换,并保存下载到本地。
Home Page: https://www.helloworld.net/html2md
原文链接:https://blog.csdn.net/wuyanxue/article/details/79642758
对应的 pull request:
{
"code": 0,
"msg": "程序异常了~"
}
因为需要保留链接,故爬取了几千条html数据,而不是TXT数据。请问这种情况需要如何处理?
https://juejin.cn/post/6844903617762492423
略。
除了使用 puppeteer,有更好的解决方法吗? ==
场景:有100个url文章地址,一次性将100url直接转成本地100个md文件,文件名为文章的标题名称。
如上传指定格式的url文件,一键生成对应的md文件
希望可以批量转换html写法的文件
知乎专栏里面的技术文章也挺多的
能否支持本地文件的转换?
https://www.helloworld.net/html2md 网页中点击保存提示“功能开发中,敬请期待”
原文链接:https://blog.csdn.net/wuyanxue/article/details/79642758
您好,转换完之后,如果是需要保存到本地的话,我可以使用 保存为MD 这个功能。
但是如果我只是想复制下来,然后再粘贴进入我自己的笔记的话,就显得有点麻烦了,我要全选内容,再手动复制。
所以为了更加方便的复制,是否可以做个复制功能(点击按键,自动全选+复制内容)一键操作。
我尝试着打包,但是 npm run build 后输出在哪呢?我想打包放在nginx
转换csdn上面的文章时,首行缩进转换错误。
root@-unknown253489:/home/tangchangxu/html2md# npm run dev
npm WARN invalid config proxy=""
npm WARN invalid config Must be a full url with 'http://'
[email protected] dev /home/tangchangxu/html2md
cross-env ENV=dev node server --watch server
sh: cross-env: command not found
npm ERR! [email protected] dev: cross-env ENV=dev node server --watch server
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is most likely a problem with the hello-html2md package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env ENV=dev node server --watch server
npm ERR! You can get their info via:
npm ERR! npm owner ls hello-html2md
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.16.0-4-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "run" "dev"
npm ERR! cwd /home/tangchangxu/html2md
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/tangchangxu/html2md/npm-debug.log
npm ERR! not ok code 0
大佬好,因为某种需求我想通过终端命令将html转化为md,并保存在下。 请问有什么办法吗
文档里如果有图片,一般是连接形式。但该网页过一段时间可能就消失了。导致本地的图片也会全部失效。能否提供一个把图片转码,和文本本当一起保存,做到离线md的作用。
CSDN滤去各个标题关联的链接
微信公众号文章中的代码块,识别后多出了``符号,导致代码格式缩进等失效
**` `**
如题
您好,在url转MD时,我们往往是保存为自己的笔记,而原文的网址我觉得最好也能保留下来(1.方便追溯原文 2.原文往往还有一些其他人的评论可以参考),可以放在MD的最后,加上: 转自 :www.xxxxx类似的。
或者是否可以在工具栏有个设置的选框,自己选择是否保留原文网站。
因为我每次使用,都会手动在MD最后加上原文网址,如果能自动添加是不是更加方便。谢谢!
CSDN Url转md出现
Enable JavaScript and cookies to continue提示,无法正常转换
Steps to reproduce(问题复现步骤)
csdn url https://blog.csdn.net/wls666/article/details/99770766
url一键转换md
出现Enable JavaScript and cookies to continue提示,无法正常转换
Screenshot or Gif
不知道是bug还是故意为之,希望可以去除 看着很变扭
npm i with 15 works but show this error:
https://gist.github.com/fd5ea31429433acd8350ab7c9f644f9f
how solved?
例如
https://blog.csdn.net/wzj_whut/article/details/86231762
这个博客中的mermaid块,想转成原始博客并永久保存
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.