Perhaps a meteorite will fall and the article posted on Qiita will disappear. As a countermeasure, I wrote a script that can back up articles even where I can manage everything myself. It also gets the image and rewrites the link.
python qiita-to-jekyll.py <access token>
Example of conversion result/2016-12-14-a2203a400136ba50b41e.md
---
layout: post
title: "Hosting images by exploiting issues on GitHub"
tags: Qiita
---
This article is a reprint of what was posted on Qiita.
---
I didn't know so I posted it.
[Dash](https://github.com/Circular-Studios/Dash)There is a game engine written in D, but I was wondering where the image file of the huge logo at the top of the readme is.
![huge]({{site.url}}/assets/qiita/0/57768/cabd3a50-395c-ee60-6068-875e6b6a96f7.png)
//Omitted below//
--tag
tags can be specified.
--note
This article is a reprint of what was posted on Qiita. You can specify \ n ---
.
--imgpath
Replace the URL of the image.
--postdir
Storage location of converted articles
--imagedir
Image storage location
It's getting better, but sometimes it still doesn't work. ~~ Make someone ~~ I want to do something about it.
Postscript: I tried using it on my site.
Recommended Posts