add markdown preview support