blob: 3e5a59954b2066fd602216498098349df4f23109 (
plain) (
tree)
|
|
# Render a Markdown file to HTML.
{ depot, pkgs, ... }:
with depot.nix.yants;
defun [ path drv ] (file: pkgs.runCommandNoCC "${file}.rendered.html" {} ''
cat ${file} | ${depot.tools.cheddar}/bin/cheddar --about-filter ${file} > $out
'')
|