fix markdown preview