@ With Alfred simplify the blog publishing process

In order to facilitate the management of Bowen has been released, so the current local use of external mode Mweb existing blog to manage, so the entire blog publishing process becomes a bit cumbersome, need to constantly switch between terminal and Mweb two programs, and each publishing process needs to be repeated input instructions, such as: hexo new post 'title', hexo clean, hexo g -d, git add -A git commit -m 'message'and so on. In order to simplify the publishing process, opt Alfred workflow to solve this problem.

The current release process:

Why should each keep a copy in Mweb external mode and document libraries mode markdownnotes?

Because Mweb external mode, just load the file in the local directory, does not have the function of the files in the directory sort of (such as classification, tagging, etc.), and Mweb document library mode is more suitable as a knowledge management tool, so I All notes are consistent use Mweb document library and records management mode, using external management model to be published to the blog notes.

You can see the entire publishing process a little tedious, the ideal state should be:

Solution: Alfred + workflow automation Bowen publishing process
now can be done:

  • nblog title: Open Mweb external model, the new one called "titile" of hexo Bowen, while adding a "title" in Mweb Library mode notes
  • dblog: The new blog posted to the blog site
  • sblog message: The change github synchronization update. messageIs: new blog title
  • cblog: Copy the latest blog post content to the latest one Mweb Library notes

This solution simplifies the basic blog publishing and creation process, but still has the following problems:

  • About blog content replication cblog, there may be copied to the external mode thing I read Bowen Library mode different name notes
  • Whether Bowen replication process can be automated Big Box   @ With Alfred simplify the blog publishing process pt src = "https://cdnjs.cloudflare.com/ajax/libs/flowchart/1.6.5/flowchart.min.js">

Guess you like

Origin www.cnblogs.com/liuzhongrong/p/11874671.html