add html outputs to menu
added some error detection to the Pandoc command
added some comments
add a note on Pandoc argument parsing