TeRiTeRi

  1. 首页
  2. 未分类
  3. 正文

将WordPress中文章导出为MarkDown文件

2020年9月9日 1540点热度 1人点赞 0条评论

Node.js安装


https://www.blog.kamisamak.com/index.php/2020/08/06/mcserver-管理面板安装/ ‎
NodeJs安装过程可参考这篇


导出插件安装过程


导出需要使用到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

标签: 暂无
最后更新:2020年9月9日

kamisamak

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

COPYRIGHT © 2023 TeRiTeRi. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang