0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-04-18 05:46:46 +02:00
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-01-17 08:55:02 +00:00
2025-01-20 15:17:47 +08:00
2025-03-04 17:58:17 +00:00
2025-01-15 11:15:47 +08:00
2025-01-08 23:57:18 +08:00
2025-01-06 12:07:52 +08:00
2025-01-15 11:15:47 +08:00
2024-03-14 23:24:59 +00:00
2024-06-11 21:07:10 +08:00
2023-04-29 15:43:01 -04:00