mirror of
https://github.com/PR0M3TH3AN/Archivox.git
synced 2026-10-28 17:01:38 +00:00
299 B
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 -->' };
}
};