This looks like a pretty common requirement. Did anyone try this?
I am writing a book in markdown & use pandoc to convert the book to pdf & epubIs there a way to specify in the markdown document that a given section (`# Preface`/`# Dedication`) belongs to `frontmatter` & `# Appendix` belongs to the `backmatter`?
Please note that I want to write `frontmatter`, `backmatter` & `mainmatter` all in markdown
PS: In the documentation, I see an option for epub, but not for pdf
(I have already posted this question in tex stackexchage forum)