0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-04-23 11:08:21 +02:00
gitea/services
Dustin Firebaugh 3f1f808b9e
Full-file syntax highlighting for diff pages (#33766)
Fix #33358, fix #21970

This adds a step in the `GitDiffForRender` that does syntax highlighting for the
entire file and then only references lines from that syntax highlighted
code. This allows things like multi-line comments to be syntax
highlighted correctly.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-03-09 12:51:58 +08:00
..
2025-03-03 05:36:10 +00:00
2025-03-08 21:47:11 +08:00
2025-03-08 21:47:11 +08:00
2025-01-13 14:01:53 +08:00
2025-01-31 19:05:48 +08:00
2023-12-25 21:25:29 +01:00
2024-05-20 00:56:45 +00:00
2025-03-08 21:38:11 +00:00