Skip to content
m80126colin edited this page Oct 13, 2014 · 110 revisions

Usage

Install

Execute the following command.

$ npm install <plugin-name> --save

Update

Execute the following command.

$ npm update

Uninstall

Execute the following command. Don't forget to disable the plugin before uninstalling.

$ npm uninstall <plugin-name>

Server

  • hexo-admin - a GUI for editing posts, runs at localhost:4000/admin

Generator

Generator is used to generate static files.

Renderer

Renderer is used to process specific files.

Migrator

Migrator helps you migrate from other system easily.

Tag

Tag helps you insert specified content in your post quickly.

Helper

Helper is used in theme to help you insert specified content quickly.

Deployer

Deployer plugin helps you deploy your site on web without complicated commands.

Console

Console is the interface between Hexo and you.

  • hexo-gzip - gzip hexo static files, in order to avoid Apache2/Nginx gzipping at the fly (better performance)
  • hexo-broken-link-checker - Detects links that don't work, missing images and redirects.
  • hexo-relative-path - Replaces links to local file with relative path, easier publish to any web hosts.
  • hexo-livereload - Refresh the browser when files changed
  • hexo-heroku-auto-publisher - Pull github issues to Hexo as posts automatically on Heroku. This plugin can transform Hexo project to a Heroku app.
  • hexo-processor-copyassets - You can customize what files are not rendered but can direct copy while executing hexo generate.
  • hexo-console-rename - Update post file name according to front-matter. Also can be used to migrate file names when new_post_name pattern changed.
  • hexo-console-clean-asset-folder - Clean empty asset folders.

Development

Check plugin development for more info.

You can edit this page to add your plugin to the list.

Caution

Attention! This wiki is no longer maintained.

Please visit the official website. https://hexo.io/

Clone this wiki locally