git clone https://orangeshoelaces.net/git/git3html.git
Author: Vasilii Kolobkov on 01/15/2019
Committer: Vasilii Kolobkov on 01/15/2019
Put a css class on file line anchors
git3html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git3html b/git3html
index f1f5bee..b94f1f0 100755
--- a/git3html
+++ b/git3html
@@ -279,7 +279,7 @@ textfile() (
n=0
g cat-file blob "$blob" | escape | awk -F '' '{
++n
- printf "<a href=\"#l%d\">%4d</a> %s\n", n, n, $0
+ printf "<a href=\"#l%d\" class=\"linea\">%4d</a> %s\n", n, n, $0
}'
printf '</code></pre>\n'
footer