Improve markdown export