I want to have Nanoc compile a single item in multiple formats - specifically, compile a Markdown file to both HTML and PDF. As far as I know, a single item can only match a single compilation rule.
A hard link (ln somefile.md newfile.md
) allows me to compile the same file as if it were two different files, but that's kind of an awkward solution.
Is there a better way to do this?