Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-02-26 | fix: wrong script location | Xiao Pan | |
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 | |||
2024-02-26 | update | Xiao Pan | |
2024-02-25 | update | Xiao Pan | |
2024-02-25 | cgit syntax highlight using mycgit.css | Xiao Pan | |
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). | |||
2024-02-25 | fix bug syntax_type should change to syntax | Xiao Pan | |
2024-02-25 | highlight use --syntax-by-name to simplify code | Xiao Pan | |
2024-02-25 | update | Xiao Pan | |
2024-02-25 | cgit better highlight | Xiao Pan | |
2024-02-25 | try cgit highlight | Xiao Pan | |
2024-02-25 | cgit syntax highlighting try | Xiao Pan | |