Age | Commit message (Collapse) | Author |
|
|
|
|
|
https://gitlab.com/saalen/highlight/-/issues/214
|
|
|
|
In about-formatting-edited.sh, `pwd` when cgit run this script is /, can be tested by `cat '<p>$(pwd)</p>'`
so need to get those scripts location via $0, $0 is /usr/lib/cgit/filters/about-formatting-edited.sh
|
|
|
|
|
|
https://www.w3schools.com/cssref/css3_pr_tab-size.php
|
|
mycgit.css import cgit.css and highlight.css. Because cgit.css is not a pacman backup file and it will be overwritten once cgit update. I can also update highlight.css automatically via pacman hook or `upd`. Also, I think `highlight` not using `--inline-css` maybe is a better way performance wise and more elegant (less messy generated html source code).
|
|
|
|
|
|
|
|
|
|
|
|
|