complete incomplete parenthesis and remove markdown-mode from list