updated to output to github markdown flavor and to use ATX style headings.