Skip to content

Plugins

tommy351 edited this page Nov 5, 2012 · 110 revisions

Contents

Usage

Install

Execute the following command.

npm install <plugin-name>

Enable

Add plugin name to plugins in _config.yml.

plugins:
- plugin-one
- plugin-name

Disable

Remove plugin name from plugins in _config.yml.

plugins:
- plugin-one

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>

Generator

Generator is used to generate static files.

Renderer

Renderer is used to process specific files.

Helper

Helper is the function used in articles.

Deployer

Deployer is used to deploy.

Processor

Processor is used to process source files.

Tag

Tag is the function used in articles.

Console

Console allows you to execute commands in command-line interface (CLI).

Development

Reference plugin development for more info.

Caution

Attention! This wiki is no longer maintained.

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

Clone this wiki locally