File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77> 前提:确保已经安装 npm。[ 如何安装 npm(安装 node.js 会自带 npm)] ( http://www.runoob.com/nodejs/nodejs-install-setup.html )
88
9+ > 1.1.0 版本起已依赖 puppeteer,若安装失败可以参考[ 这里] ( https://github.com/cnpm/cnpmjs.org/issues/1246#issuecomment-359148058 )
10+
11+ #### 原始方法
12+
9131 . 打开 Terminal
10142 . 执行如下脚本
1115<pre >
1216npm install wechat-format-cli && cd ./node_modules/wechat-format-cli && npm start <b >your_md_path.md</b >
1317</pre >
14183 . Ctrl/Command + V 到微信公众号编辑器
1519
16- > 1.1.0 版本依赖 puppeteer,若安装失败可以参考 [ 这里 ] ( https://github.com/cnpm/cnpmjs.org/issues/1246#issuecomment-359148058 )
20+ #### 全局方法
1721
22+ 1 . 安装:` npm install wechat-format-cli -g `
23+ 2 . 打开命令行执行:` wechat-format-cli [your_md_path.md] `
24+ 3 . Ctrl/Command + V 到微信公众号编辑器
1825## CHANGELOG
1926
27+ <details >
28+ <summary >1.1.1</summary >
29+ </br >
30+ <p >1. 支持全局安装</b ></p >
31+ </details >
32+
2033<details >
2134<summary >1.1.0</summary >
2235</br >
@@ -28,6 +41,7 @@ npm install wechat-format-cli && cd ./node_modules/wechat-format-cli && npm star
2841- 继承了[ 微信公众号排版编辑器] ( https://github.com/lyricat/wechat-format ) 的优点(当然也有 bug。。)
2942- 不需要网页编辑
3043- 生成后的微信特制 HTML 直接复制到粘贴板,打开微信公众号编辑器直接粘贴
44+ - 可以为** [ 微信公众号的自动发布文章] ( https://github.com/LinusLing/WeChatMediaPlatformAutomation ) ** 提供内容
3145
3246## 关于我
3347
Original file line number Diff line number Diff line change 11{
22 "name" : " wechat-format-cli" ,
3- "version" : " 1.1.0 " ,
3+ "version" : " 1.1.1 " ,
44 "description" : " CLI for transferring markdown contents to wechat html format and then can paste formatted html to wechat editor." ,
55 "main" : " transfer.js" ,
66 "scripts" : {
2727 "bugs" : {
2828 "url" : " https://github.com/LinusLing/wechat-format-cli/issues"
2929 },
30- "homepage" : " https://github.com/LinusLing/wechat-format-cli#readme"
30+ "homepage" : " https://github.com/LinusLing/wechat-format-cli#readme" ,
31+ "bin" : {
32+ "wechat-format-cli" : " ./transfer.js"
33+ }
3134}
You can’t perform that action at this time.
0 commit comments