add markdown preview to page editor