I write a lot of teaching material on using coding languages. I have taken to using Markdown because it’s very easy to just get into it and mark up headings, tables and code samples.
The software I’m using on my Macintosh is Macdown. It’s good for what it does, but it’s developing some problems. It does, on the other hand, easily produce a PDF document, so again it is easy to get the job done.
However, the resulting document lacks many of the features I need to finish the job, including PDF bookmarks, a contents page, headers & footers, same-page foot notes and cross referencing.
Currently I run the PDF output through two other programs to generate PDF bookmarks and add primitive page numbering, but it’s very primitive and requires a lot of manual input.
Is there a tool or set of tools which will take a Markdown document and produce the above features? I would be happy to use Asciidoc instead, which I know has more features.