aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkg/handler/git/handler.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/handler/git/handler.go b/pkg/handler/git/handler.go
index 9549f0e..2ddc5f1 100644
--- a/pkg/handler/git/handler.go
+++ b/pkg/handler/git/handler.go
@@ -283,6 +283,7 @@ func (g *GitHandler) Blob(w http.ResponseWriter, r *http.Request) error {
style := styles.Get("xcode")
formatter := html.New(
html.WithLineNumbers(true),
+ html.WithLinkableLineNumbers(true, "L"),
)
iterator, err := lexer.Tokenise(nil, string(file))