Fix new line in scope parser and add bookmarks to sidebar