Format markdown files in a given directory as HTML