plugin support

This commit is contained in:
41666 2025-04-22 11:18:59 -07:00
parent 317dd961a2
commit 4ee5913bd0
7 changed files with 58 additions and 12 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, brewTea, ... }: brewTea {
{ pkgs, brewTea, mkMarkdollPlugin }: brewTea {
name = "examples_quickstart";
version = "0.0.0";
@ -7,4 +7,11 @@
# maybe don't do this but its possible to reference _any file_.
defaultLayout = ./layouts/default.html;
# these are mostly for alias purposes...
# can do an [invoke(plural)(...):yay!] type thing
# one can invoke stuff inline too without doing this.
markdollPlugins = [
(mkMarkdollPlugin "plural" ../plugins/plural.sh)
];
}