Commit Graph

28 Commits (5aceedc7fda39546a1e9fda423eb51a8286f86a7)

Author SHA1 Message Date
silverwind ec0a06e52c
Upgrade chroma to v2.3.0 (#21259) 2 years ago
silverwind ae3dde1c87
Rework file highlight rendering and fix yaml copy-paste (#19967) 2 years ago
wxiaoguang 3310dd1d19
Improve code diff highlight, fix incorrect rendered diff result (#19958) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 3 years ago
silverwind 527e5bd1b2
Fix copy/paste of empty lines (#19798) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Jelle Hulter bbd30787d3
Updated Chroma to v0.10.0 (#18270) 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) 4 years ago
Mura Li 19dedc3fa5
Speed up git diff highlight generation (#16180) 4 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) 5 years ago
mrsdizzie a6168fa25d
Make copy/paste work for source code (#12191) 5 years ago
mrsdizzie 078d2fbd4c
Remove newline when highlighting random chunks of code (#12180) 5 years ago
mrsdizzie af7ffaa279
Server-side syntax highlighting for all code (#12047) 5 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