diff --git a/overview/default.nix b/overview/default.nix index 990696e98..fc9a9acea 100644 --- a/overview/default.nix +++ b/overview/default.nix @@ -18,6 +18,7 @@ let substring toJSON toString + replaceStrings ; join = concatStringsSep; @@ -75,6 +76,11 @@ let packages = project: attrValues project.packages; }; + # This doesn't actually produce a HTML string but a Jinja2 template string + # literal, that is then replaced by it's HTML translation at the last build + # step. + markdownToHtml = markdown: "{{ markdown_to_html(${toJSON markdown}) }}"; + render = { options = rec { one = @@ -91,7 +97,7 @@ let