{"repo":"LinusLing/wechat-format-cli","free":true,"listed":false,"github":"https://github.com/LinusLing/wechat-format-cli","clone":"git clone https://github.com/LinusLing/wechat-format-cli.git","description":"微信公众号排版编辑器cli，一行命令生成公众号内容","language":"JavaScript","stars":41,"topics":["wechat","wechat-official-account","cli","wechat-format-cli","html","markdown","editor","articles"],"license":null,"category":"cli-tools","readme_excerpt":"微信公众号排版编辑器 (wechat-format-cli) 转化 Markdown 到给微信特制的 HTML（受 微信公众号排版编辑器 的启发，刚好自己又有这个需求） 如何使用 前提：确保已经安装 npm。如何安装 npm（安装 node.js 会自带 npm） 1.1.0 版本起已依赖 puppeteer，若安装失败可以参考这里 原始方法 1. 打开 Terminal 2. 执行如下脚本 npm install wechat-format-cli && cd ./node modules/wechat-format-cli && npm start your md path.md 3. Ctrl/Command + V 到微信公众号编辑器 全局方法 1. 安装： npm install wechat-format-cli -g 2. 打开命令行执行： wechat-format-cli [your md path.md] 3. Ctrl/Command + V 到微信公众号编辑器 CHANGELOG 1.1.3 1. 修复执行完 Copy 操作但无内容的 bug 1.1.2 1. 支持全局安装 1.1.0 1. 利用 puppeteer 实现复制 html，替换原来纯文本带标签的方式 优点 - 继承了微信公众号排版编辑器的优点（当然也有 bug。。） - 不需要网页编辑 - 生成后的微信特制 HTML 直接复制到粘贴板，打开微信公众号编辑器直接粘贴 - 可以为 微信公众号的自动发布文章 提供内容 关于我 我是 Linus。如果你喜欢我的工具，可以： - 给这个项目加星 https://github.com/LinusLing/wechat-format-cli","default_branch":null,"files":null,"tree":[],"storefront":"/r/LinusLing","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/LinusLing/wechat-format-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}