expose parse markdown

This commit is contained in:
dusk 2023-04-06 06:56:45 +03:00
parent b6a96ef07e
commit c6bd196fdc
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -35,6 +35,9 @@ in {
mkSitePathFrom = l.mkOption {
type = l.types.raw;
};
parseMarkdown = l.mkOption {
type = l.types.raw;
};
};
};
});
@ -74,6 +77,7 @@ in {
'';
in {
html-nix.lib = {
inherit parseMarkdown;
mkSitePathFrom = mkSitePath;
mkServeFromSite = site: mkServePathScript (mkSitePath site);
mkSiteFrom = {