gitea/templates/repo/diff
Dustin Firebaugh 3f1f808b9e
Full-file syntax highlighting for diff pages ()
Fix , fix 

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>
..
blob_excerpt.tmpl Refactor tmpl and blob_excerpt ()
box.tmpl Decouple diff stats query from actual diffing ()
comment_form.tmpl Refactor markdown editor and use it for milestone description editor ()
comment_form_datahandler.tmpl Make sure fmt catches all templates ()
comments.tmpl Hide/disable unusable UI elements when a repository is archived ()
compare.tmpl Refactor pull-request compare&create page ()
conversation.tmpl Improve mobile review ui ()
conversation_outdated.tmpl Improve user experience for outdated comments ()
csv_diff.tmpl Fix CSV diff for added/deleted files ()
escape_title.tmpl Refactor tmpl and blob_excerpt ()
image_diff.tmpl Full-file syntax highlighting for diff pages ()
new_comment.tmpl Do not reload page after adding comments in Pull Request reviews ()
new_review.tmpl Hide/disable unusable UI elements when a repository is archived ()
options_dropdown.tmpl Use `git diff-tree` for `DiffFileTree` on diff pages ()
section_code.tmpl Add template linting via djlint ()
section_split.tmpl Refactor tmpl and blob_excerpt ()
section_unified.tmpl De-emphasize signed commits ()
stats.tmpl Migrate margin and padding helpers to tailwind ()
whitespace_dropdown.tmpl code optimization ()