Link to specific highlighted line instead of whole code snippet
This commit is contained in:
@@ -163,8 +163,8 @@ const FileCodeSnippet = ({
|
||||
|
||||
const titleFileUri = createRemoteFileRef(
|
||||
fileLink,
|
||||
startingLine,
|
||||
endingLine);
|
||||
highlightedRegion?.startLine || startingLine,
|
||||
highlightedRegion?.endLine || endingLine);
|
||||
|
||||
if (!codeSnippet) {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user