Migrate your blog from Github Gist to Hexo. ( ͡° ͜ʖ ͡°)✧
👉 Demo
$ npm install hexo-migrator-gists --save
Execute the following command to create/update posts from Github Gist.
$ hexo migrate gists
Add this line to _config.yml
, then the plugin will stop asking for your username.
# Gists
gists_user: <your github gist id>
You can use Hexo Front-matter in posts, plugin will automatically merge them.
---
title: New title...
tags:
- Android
- Android Things
---
Hide the contents which you don't want to be shown in your blog. For example, the header line.
<!-- @Gist(hide) -->
# Contents to be hidden in your blog...
<!-- @Gist(hide) -->