blob: 58f29c30e0f37e491ab2acd5123cd4d20674bec4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
# Render a Markdown file to HTML.
{ depot, ... }:
with depot.nix.yants;
defun [ path drv ] (file: depot.third_party.runCommandNoCC "${file}.rendered.html" {} ''
cat ${file} | ${depot.tools.cheddar}/bin/cheddar --about-filter ${file} > $out
'')
|