moved codemirror and marked init to initMarkdownEditor function
back to using the pagedown converter instead of marked