expose parse markdown
This commit is contained in:
parent
b6a96ef07e
commit
c6bd196fdc
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user