将WordPress中文章导出为MarkDown文件

[infobox title=”Node.js安装”]
https://www.blog.kamisamak.com/index.php/2020/08/06/mcserver-管理面板安装/ ‎
NodeJs安装过程可参考这篇
[/infobox]
[infobox title=”导出插件安装过程”]
导出需要使用到wordpress-to-markdown工具

git clone https://github.com/ytechie/wordpress-to-markdown.git
npm install xml2js to-markdown

wordpress将文章导出为xml更名export.xml放置在wordpress-to-markdown目录下

node convert.js

如果需要直接导入hexo也可以用该工具:
https://hexo.io/zh-cn/docs/migration.html
[/infobox]


已发布

分类

作者:

标签

评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注