I'm using multimarkdown to write my thesis. It's a more advanced markdown parser which converts md to tex, and from there to pdf.
It's SO-NICE to write a thesis in markdown instead of having to think about styling and stuff at the same time.
A shoutout to the project, I'm happy with it
@arteteco considering what your doing you might want to check out my own mrkdown to pdf code, it is similar advanced and allows you to add latex into the markdown.