generate markdown version for better online reading experience