add markdown and preview