Perhaps I'm missing something, but is there a way to either
(a) ensure that pandoc places pagebreaks before level 1 and level 2 headers in markdown (#,##), or
(b) hide \newpage from other markdown tools?
Is it possible to edit the template that pandoc uses for the conversion in order to do (a)?
Any ideas gratefully received.
:-)
\setuphead[section,subsection][page=yes]. Thetitlesecpackage in LaTeX should provide similar functionality. – Aditya Sep 04 '13 at 15:35pandoc -s -w context doc.md -o doc.texthen edit the.texfile to include your\setupheadline, andcontext doc.tex? – Dycey Sep 04 '13 at 16:00contextwill drop you into an editor). Ideally, you should modify the default ConTeXt template to create a custom template (see pandoc documentation) that has the above line included, so that you do not have to edit the file to add that line every time. – Aditya Sep 04 '13 at 17:38