Skip to content

xujiaao/hexo-migrator-gists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Gist Migrator

npm version

Migrate your blog from Github Gist to Hexo. ( ͡° ͜ʖ ͡°)✧

👉 Demo

Install

$ npm install hexo-migrator-gists --save

Usage

Execute the following command to create/update posts from Github Gist.

$ hexo migrate gists

Advanced Usage

Save Github Gist Id

Add this line to _config.yml, then the plugin will stop asking for your username.

# Gists
gists_user: <your github gist id>

Front-matter

You can use Hexo Front-matter in posts, plugin will automatically merge them.

---
title: New title...
tags:
- Android
- Android Things
---

Hide Contents

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) -->

About

GithubGist migrator plugin for Hexo

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published