markdown preview on new post page