adding markdown mode