mirror of
https://github.com/PR0M3TH3AN/Archivox.git
synced 2026-11-06 13:21:32 +00:00
Add DocForge documentation site
This commit is contained in:
1 parent
c128e20e68
commit
4d924387ce
12 files changed
+94
No files matched your search
@@ -0,0 +1,13 @@
|
||||
# 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 -->' };
|
||||
}
|
||||
};
|
||||
```
|
||||
Reference in new issue
Block a user