Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 922 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 922 Bytes

blogPulgin

a blogPlugin to update hexo blog

how to use:

  1. download the output.zip file and unzip it
  2. change the config.yml file, add your own blog sever ip, server password
  3. create a local file path to save transformed articles and add this path to the config.yml file
  4. run the program by running the following command bash run.sh {path-of-the-article-to-be-transed}
  5. if everything works well, the new article will be published on your website and the article will be backup on your git repository

requirements of the article to be transformed:

  1. it should be a markdown file
  2. the main body should start with "tags: xxx"
  3. if there are pictures in the article, pictures should be written as base64 code in this format "![图片](base64 code)"

best practice: use shimo document app to write an article and use it to transform the article to markdown file. then use this program to handle the file.