gitea/templates
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
..
admin Improve admin user view page (#33735) 2025-02-27 17:47:37 +08:00
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 2024-04-20 01:15:14 +00:00
base Refactor global init code and add more comments (#33755) 2025-03-03 10:57:28 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Always show the "rerun" button for action jobs (#33692) 2025-02-24 08:40:46 +00:00
explore Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
org Refactor markup and pdf-viewer to use new init framework (#33772) 2025-03-03 11:49:15 -08:00
package Trivial fixes (#33304) 2025-01-17 08:55:02 +00:00
projects Refactor markup and pdf-viewer to use new init framework (#33772) 2025-03-03 11:49:15 -08:00
repo Full-file syntax highlighting for diff pages (#33766) 2025-03-09 12:51:58 +08:00
shared Refactor markup and pdf-viewer to use new init framework (#33772) 2025-03-03 11:49:15 -08:00
status Remove urls from translations (#31950) 2024-09-02 18:36:24 +00:00
swagger allow filtering /repos/{owner}/{repo}/pulls by target base branch queryparam (#33684) 2025-02-27 17:50:44 +00:00
user Improve theme display (#30671) 2025-03-08 21:38:11 +00:00
webhook Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Remove urls from translations (#31950) 2024-09-02 18:36:24 +00:00
install.tmpl Supplement and Improvement for #32558 (#32585) 2024-11-21 02:42:37 +00:00
post-install.tmpl Optimize the installation page (#32994) 2024-12-31 04:49:26 +00:00