formatting, add markdown generation