Commit Graph

25 Commits (987798a3a9123e7cbb50311a4cf5be3770f14b62)

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
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) 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