expose parse markdown
This commit is contained in:
parent
b6a96ef07e
commit
c6bd196fdc
@ -35,6 +35,9 @@ in {
|
|||||||
mkSitePathFrom = l.mkOption {
|
mkSitePathFrom = l.mkOption {
|
||||||
type = l.types.raw;
|
type = l.types.raw;
|
||||||
};
|
};
|
||||||
|
parseMarkdown = l.mkOption {
|
||||||
|
type = l.types.raw;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
@ -74,6 +77,7 @@ in {
|
|||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
html-nix.lib = {
|
html-nix.lib = {
|
||||||
|
inherit parseMarkdown;
|
||||||
mkSitePathFrom = mkSitePath;
|
mkSitePathFrom = mkSitePath;
|
||||||
mkServeFromSite = site: mkServePathScript (mkSitePath site);
|
mkServeFromSite = site: mkServePathScript (mkSitePath site);
|
||||||
mkSiteFrom = {
|
mkSiteFrom = {
|
||||||
|
Loading…
Reference in New Issue
Block a user