Plugin

Plugins generally add global-level functionality to KduPress. There is no strictly defined scope for a plugin.

Examples

There are typically several types of plugins:

  1. Extend the page’s metadata generated at compile time. For example @kdupress/plugin-last-updated;
  2. Generate extra files before or after compilation. For example @kdupress/plugin-pwa;
  3. Inject global UI. For example @kdupress/plugin-back-to-top;

Out of the Box

To keep things at a minimum, not all of the official plugins are shipped with KduPress. Here is the list of plugins that are pre-installed in the KduPress and the default theme, plugins that are not in the list below need to be installed manually(for example @kdupress/plugin-back-to-top).

Plugins that come with KduPress

Plugins that come with the default theme

Architecture

The architecture of the whole plugin system is as follows:

Architecture of KduPress