extensions/markdown-language-features/src/languageFeatures/documentLinkProvider.ts/isLinkInsideCode
function isLinkInsideCode(code: CodeInDocument, linkHrefRange: vscode.Range) {
	return code.multiline.some(interval => linkHrefRange.start.line >= interval[0] && linkHrefRange.start.line < interval[1]) ||
		code.inline.some(position => position.intersection(linkHrefRange));
}