undo markdown syntax errors