To copy a link to a line of code, you can hover over the number next to the line of code and then copy a link to that line.
I created a gif to show what I mean: https://gitlab.com/johncoghlan/blog/-/raw/master/images/perm...