add markdown js and add view post image