extensions/markdown-language-features/preview-src/scroll-sync.ts/getLineElementForFragment
export function getLineElementForFragment(fragment: string, documentVersion: number): CodeLineElement | undefined {
	return getCodeLineElements(documentVersion).find((element) => {
		return element.element.id === fragment;
	});
}