added yaml and markdown mode