Files
Archivox/docs/content/customization/plugins.md
T

299 B

Writing Plugins

Create JavaScript modules in the plugins/ directory. Export hook functions such as onParseMarkdown or onPageRendered to modify the build.

Example:

module.exports = {
  onPageRendered: async ({ html }) => {
    return { html: html + '\n<!-- custom -->' };
  }
};