show markdown preview when initialized