From c6bd196fdc084821c0d0c982bd1a50dcf999afd2 Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Thu, 6 Apr 2023 06:56:45 +0300 Subject: [PATCH] expose parse markdown --- pkgs-lib.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs-lib.nix b/pkgs-lib.nix index 3e10f81..f4986b0 100644 --- a/pkgs-lib.nix +++ b/pkgs-lib.nix @@ -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 = {