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

14 lines
299 B
Markdown

# Writing Plugins
Create JavaScript modules in the `plugins/` directory. Export hook functions such as `onParseMarkdown` or `onPageRendered` to modify the build.
Example:
```js
module.exports = {
onPageRendered: async ({ html }) => {
return { html: html + '\n<!-- custom -->' };
}
};
```