extensions/markdown-language-features/src/util/openDocumentLink.ts/tryRevealLineInNotebook
async function tryRevealLineInNotebook(tocProvider: MdTableOfContentsProvider, editor: vscode.NotebookEditor, fragment: string): Promise<boolean> {
	const toc = await tocProvider.createForNotebook(editor.notebook);
	const entry = toc.lookup(fragment);
	if (!entry) {
		return false;
	}

	const cell = editor.notebook.getCells().find(cell => cell.document.uri.toString() === entry.sectionLocation.uri.toString());
	if (!cell) {
		return false;
	}

	const range = new vscode.NotebookRange(cell.index, cell.index);
	editor.selection = range;
	editor.revealRange(range);
	return true;
}