Commit Graph

24 Commits (5a84558e7cbf87594a4076d5a785c5bdc0445f95)

Author SHA1 Message Date
wxiaoguang 0747592865
Adjust line detection in highlight.go (#20612) 2 years ago
silverwind 527e5bd1b2
Fix copy/paste of empty lines (#19798) 2 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 3c4724d70e
Add .gitattribute assisted language detection to blame, diff and render (#17590) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
zeripath 623d2dd411
Prevent panic in Org mode HighlightCodeBlock (#17140) 3 years ago
zeripath f31e7a67cf
Just use a slice when rendering file (#16774) 3 years ago
zeripath 23a87a003e
Ensure empty lines are copiable and final new line too (#16678) 3 years ago
Mura Li fd6b1be1b6
Replace ARCCache with TwoQueueCache to avoid patent issue (#16240) 3 years ago
Mura Li 19dedc3fa5
Speed up git diff highlight generation (#16180) 3 years ago
mlpo 52f8dcda43
Allow custom highlight mapping beyond file extensions (#15808) 4 years ago
mrsdizzie 6280af0324
Use existing analyzer module for language detection for highlighting (#13522) 4 years ago
zeripath dead2a9b2d
Escape failed highlighted code (#12685) 4 years ago
mrsdizzie 8d081950e6
Ensure syntax highlighting is the same inside diffs (#12205) 4 years ago
mrsdizzie a6168fa25d
Make copy/paste work for source code (#12191) 4 years ago
mrsdizzie 078d2fbd4c
Remove newline when highlighting random chunks of code (#12180) 4 years ago
mrsdizzie af7ffaa279
Server-side syntax highlighting for all code (#12047) 4 years ago
silverwind 1d8915ad5d Add a lot of extension to language mappings for syntax highlights (#7741) 5 years ago
FlorianBen 0e887af2d1 Fix specific highlighting (CMakeLists.txt ...) (#7686) 5 years ago
Rob Watson 8bf405986e Add Rust highlighting (#7125) 6 years ago
Robert A. Nowak 592924a34b Fix Erlang and Elixir highlight mappings (#7044) 6 years ago
Ethan Koenig 6d613fb28e No highlighting for .txt files (#1922) 8 years ago
Andrey Nering be5323a05f Update HighlightJS and fix YAML files highlighting (#1764) 8 years ago
Thomas Boerger 83ed234472 Integrate templates into bindata optionally (#314) 8 years ago
Lunny Xiao 229ec927b9 Golint fixed for modules/template 8 years ago
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io (#135) 8 years ago
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 8 years ago
Andrey Nering 2bfb8bb5fd Enable sintax highlighting on diff view. Close #733 9 years ago
Unknwon 1e7e092992 #2103 Ability to map extensions for syntax highlighting in config 9 years ago
Unknwon 6673dcb038 #2103 #2181 improvments of highlight class name 9 years ago