Skip to content

Highlight and link to multiple line ranges of source code

Proposal

Be able to highlight a line/range of code then hold CMD/CTRL then click to select another, non-contiguous line/range and have the URL hash updated to e.g. #L1-2,4,6-7.

The equivalent feature in Bitbucket is described in this SO answer.

Edited by 🤖 GitLab Bot 🤖