srcref - Dynamic Line-Specific GitHub Permalinks
(What is srcref?)
Username/Org Name:
GitHub username or organization name
Repo Name:
GitHub repository name
Branch Name:
GitHub branch name
File Path:
File path in repository
Begin Regex:
Regex used to determine the beginning match
Begin Occurrence:
1st
2nd
3rd
4th
5th
6th
7th
8th
9th
10th
Number of matches for the beginning match
Begin Offset:
Number of lines above or below the beginning match
Begin Search Direction:
Top-down
Bottom-up
Direction to evaluate the file for the beginning match
End Regex:
Optional regex used to determine the ending match
End Occurrence:
1st
2nd
3rd
4th
5th
6th
7th
8th
9th
10th
Optional number of matches for the ending match
End Offset:
Optional number of lines above or below the ending match
End Search Direction:
Top-down
Bottom-up
Optional direction to evaluate the file for the ending match
Reset Values
Copy URL
View GitHub Permalink
URL Copied!
Embed this URL in your docs:
https://www.srcref.com/github?account=pambrose&repo=srcref&branch=master&path=src%2Fmain%2Fkotlin%2Fcom%2Fpambrose%2Fsrcref%2FMain.kt&bregex=install%5C%28CallLogging%5C%29&boccur=1&boffset=0&btopd=true&eregex=install%5C%28Compression%5C%29&eoccur=1&eoffset=6&etopd=true
To dynamically generate this GitHub permalink:
https://github.com/pambrose/srcref/blob/master/src/main/kotlin/com/pambrose/srcref/Main.kt#L32-L55