Replaced codemirror with ace editor. markdown rendering working