generate exam papers from markdown