How do I enable application to view edited contents like as the preview instead of showing the actual markdown code?