hexo console command to conver html to post...
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
README.md
index.js
package-lock.json
package.json

README.md

hexo html synchronizer

a hexo console plugin, to fetch remote webpage(including image file) and save to hexo post.

@2018/03/17

Install

$ npm install hexo-html-syncer --save
// or
$ npm install github:lwz7512/hexo-html-syncer --save

Usage

under hexo blog directory:

$ hexo syncer article_url_address
# for example:
$ hexo syncer http://mp.weixin.qq.com/s/Tp4W-_0MXMvN5Tw3jlrtLg

Check result

$ hexo server

then open browser to view the newly downloaded article in localhost.

Todos

  • html element filter for different website before converting to markdown.

Collaboration

welcome to fork and send pull request...

to be continued...