mirror of
https://github.com/PR0M3TH3AN/Archivox.git
synced 2025-09-07 14:48:40 +00:00
Merge pull request #34 from PR0M3TH3AN/codex/remove-plugin-references-from-documentation
Remove plugin docs and adjust sidebar arrows
This commit is contained in:
@@ -73,6 +73,8 @@ body {
|
||||
list-style: none;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.nav-section summary::-webkit-details-marker { display: none; }
|
||||
.nav-section summary::before {
|
||||
|
@@ -1,13 +0,0 @@
|
||||
# Writing Plugins
|
||||
|
||||
Place JavaScript files in the `plugins/` directory. Export hook functions such as `onParseMarkdown` or `onPageRendered` to modify the build process. Hooks receive data objects that you can transform before Archivox writes the final files.
|
||||
|
||||
Example:
|
||||
|
||||
```js
|
||||
module.exports = {
|
||||
onPageRendered: async ({ html }) => {
|
||||
return { html: html + '\n<!-- custom -->' };
|
||||
}
|
||||
};
|
||||
```
|
Reference in New Issue
Block a user