Files
Archivox/docs/content/03-customization/plugins.md
2025-07-10 15:43:46 -04:00

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 -->' };
  }
};