[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5355":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},5355,"delta","dandavison\u002Fdelta","dandavison","A syntax-highlighting pager for git, diff, grep, rg --json, and blame output","https:\u002F\u002Fdandavison.github.io\u002Fdelta\u002F",null,"Rust",31093,537,109,294,0,7,58,351,39,112.19,"MIT License",false,"main",true,[27,5,28,29,30,31,32,33],"color-themes","diff","git","git-delta","pager","rust","syntax-highlighter","2026-06-12 04:00:24","\u003Cp align=\"center\">\n  \u003Cimg width=400px src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F52205\u002F147996902-9829bd3f-cd33-466e-833e-49a6f3ebd623.png\" alt=\"image\" \u002F>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fdandavison\u002Fdelta\u002Factions\">\n    \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fdandavison\u002Fdelta\u002Fworkflows\u002FContinuous%20Integration\u002Fbadge.svg\" alt=\"CI\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fcoveralls.io\u002Fgithub\u002Fdandavison\u002Fdelta?branch=main\">\n    \u003Cimg src=\"https:\u002F\u002Fcoveralls.io\u002Frepos\u002Fgithub\u002Fdandavison\u002Fdelta\u002Fbadge.svg?branch=main\" alt=\"Coverage Status\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgitter.im\u002Fdandavison-delta\u002Fcommunity?utm_source=badge&amp;utm_medium=badge&amp;utm_campaign=pr-badge\">\n    \u003Cimg src=\"https:\u002F\u002Fbadges.gitter.im\u002Fdandavison-delta\u002Fcommunity.svg\" alt=\"Gitter\">\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n## Get Started\n\n[Install it](https:\u002F\u002Fdandavison.github.io\u002Fdelta\u002Finstallation.html) (the package is called \"git-delta\" in most package managers, but the executable is just `delta`) and add this to your `~\u002F.gitconfig`:\n\n```gitconfig\n[core]\n    pager = delta\n\n[interactive]\n    diffFilter = delta --color-only\n\n[delta]\n    navigate = true  # use n and N to move between diff sections\n    dark = true      # or light = true, or omit for auto-detection\n\n[merge]\n    conflictStyle = zdiff3\n```\n\nOr run:\n\n```sh\ngit config --global core.pager delta\ngit config --global interactive.diffFilter 'delta --color-only'\ngit config --global delta.navigate true\ngit config --global delta.dark true  # or `delta.light true`, or omit for auto-detection\ngit config --global merge.conflictStyle zdiff3\n```\n\nDelta has many features and is very customizable; please see `delta -h` (short help) or `delta --help` (full manual), or the [online user manual](https:\u002F\u002Fdandavison.github.io\u002Fdelta\u002F).\n\n## Features\n\n- Language syntax highlighting with the same syntax-highlighting themes as [bat](https:\u002F\u002Fgithub.com\u002Fsharkdp\u002Fbat#readme)\n- Word-level diff highlighting using a Levenshtein edit inference algorithm\n- Side-by-side view with line-wrapping\n- Line numbering\n- `n` and `N` keybindings to move between files in large diffs, and between diffs in `log -p` views (`--navigate`)\n- Improved merge conflict display\n- Improved `git blame` display (syntax highlighting; `--hyperlinks` formats commits as links to hosting provider etc. Supported hosting providers are: GitHub, GitLab, SourceHut, Codeberg)\n- Syntax-highlights grep output from `rg`, `git grep`, `grep`, etc\n- Support for Git's `--color-moved` feature.\n- Code can be copied directly from the diff (`-\u002F+` markers are removed by default).\n- `diff-highlight` and `diff-so-fancy` emulation modes\n- Commit hashes can be formatted as terminal [hyperlinks](https:\u002F\u002Fgist.github.com\u002Fegmontkob\u002Feb114294efbcd5adb1944c9f3cb5feda) to the hosting provider page (`--hyperlinks`).\n  File paths can also be formatted as hyperlinks for opening in your OS.\n- Stylable box\u002Fline decorations to draw attention to commit, file and hunk header sections.\n- Style strings (foreground color, background color, font attributes) are supported for >20 stylable elements, using the same color\u002Fstyle language as git\n- Handles traditional unified diff output in addition to git output\n- Automatic detection of light\u002Fdark terminal background\n\n## A syntax-highlighting pager for git, diff, and grep output\n\nCode evolves, and we all spend time studying diffs. Delta aims to make this both efficient and enjoyable: it allows you to make extensive changes to the layout and styling of diffs, as well as allowing you to stay arbitrarily close to the default git\u002Fdiff output.\n\n\u003Ctable align=\"center\">\n  \u003Ctr>\n    \u003Ctd>\n      \u003Cimg width=400px src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F52205\u002F86275526-76792100-bba1-11ea-9e78-6be9baa80b29.png\" alt=\"image\" \u002F>\n      \u003Cbr>\n      \u003Cp align=\"center\">\u003Csub>delta with \u003Ccode>line-numbers\u003C\u002Fcode> activated\u003C\u002Fsub>\u003C\u002Fp>\n    \u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n\u003Ctable align=\"center\">\n  \u003Ctr>\n    \u003Ctd>\n      \u003Cimg width=800px src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F52205\u002F87230973-412eb900-c381-11ea-8aec-cc200290bd1b.png\" alt=\"image\" \u002F>\n      \u003Cbr>\n      \u003Cp align=\"center\">\u003Csub>delta with \u003Ccode>side-by-side\u003C\u002Fcode> and \u003Ccode>line-numbers\u003C\u002Fcode> activated\u003C\u002Fsub>\u003C\u002Fp>\n    \u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\nHere's what `git show` can look like with git configured to use delta:\n\n\u003Cbr>\n\n\u003Ctable align=\"center\">\n  \u003Ctr>\n    \u003Ctd>\n      \u003Cimg width=500px style=\"border: 1px solid black\"\n           src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F52205\u002F81058545-a5725f80-8e9c-11ea-912e-d21954586a44.png\"\n           alt=\"image\" \u002F>\n    \u003C\u002Ftd>\n    \u003Ctd>\n      \u003Cimg width=500px style=\"border: 1px solid black\"\n           src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F52205\u002F81058911-6abcf700-8e9d-11ea-93be-e212824ec03d.png\"\n           alt=\"image\" \u002F>\n    \u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>\n      \"Dracula\" theme\n    \u003C\u002Ftd>\n    \u003Ctd>\n      \"GitHub\" theme\n    \u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n\u003Cbr>\n\u003Cbr>\n\n### Syntax-highlighting themes\n\n**All the syntax-highlighting color themes that are available with [bat](https:\u002F\u002Fgithub.com\u002Fsharkdp\u002Fbat\u002F) are available with delta:**\n\n\u003Cbr>\n\u003Ctable>\n  \u003Ctr>\n    \u003Ctd>\n      \u003Cimg width=400px style=\"border: 1px solid black\"\n           src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F52205\u002F149431273-e3ad049d-771e-4186-869d-0e57967958a6.png\"\n           alt=\"image\" \u002F>\n    \u003C\u002Ftd>\n    \u003Ctd>\n      \u003Cimg width=400px style=\"border: 1px solid black\"\n           src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F52205\u002F149431419-48836001-2afc-4fd0-97ad-561a69b71db7.png\"\n           alt=\"image\" \u002F>\n    \u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>\n      \u003Ccode>delta --show-syntax-themes --dark\u003C\u002Fcode>\n    \u003C\u002Ftd>\n    \u003Ctd>\n      \u003Ccode>delta --show-syntax-themes --light\u003C\u002Fcode>\n    \u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n\u003Cbr>\n\n### Side-by-side view\n\n[[User manual](https:\u002F\u002Fdandavison.github.io\u002Fdelta\u002Fside-by-side-view.html)]\n\n```gitconfig\n[delta]\n    side-by-side = true\n```\n\nBy default, side-by-side view has line-numbers activated, and has syntax highlighting in both the left and right panels: [[config](#side-by-side-view-1)]\n\n\u003Ctable>\u003Ctr>\u003Ctd>\u003Cimg width=800px src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F52205\u002F87230973-412eb900-c381-11ea-8aec-cc200290bd1b.png\" alt=\"image\" \u002F>\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftable>\n\nSide-by-side view wraps long lines automatically:\n\n\u003Ctable>\u003Ctr>\u003Ctd>\u003Cimg width=600px src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F52205\u002F139064537-f8479504-16d3-429a-b4f6-d0122438adaa.png\" alt=\"image\" \u002F>\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftable>\n\n### Line numbers\n\n[[User manual](https:\u002F\u002Fdandavison.github.io\u002Fdelta\u002Fline-numbers.html)]\n\n```gitconfig\n[delta]\n    line-numbers = true\n```\n\n\u003Ctable>\u003Ctr>\u003Ctd>\u003Cimg width=400px src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F52205\u002F86275526-76792100-bba1-11ea-9e78-6be9baa80b29.png\" alt=\"image\" \u002F>\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftable>\n\n### Merge conflicts\n\n[[User manual](https:\u002F\u002Fdandavison.github.io\u002Fdelta\u002Fmerge-conflicts.html)]\n\n\u003Ctable>\u003Ctr>\u003Ctd>\u003Cimg width=500px src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F52205\u002F144783121-bb549100-69d8-41b8-ac62-1704f1f7b43e.png\" alt=\"image\" \u002F>\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftable>\n\n### Git blame\n\n[[User manual](https:\u002F\u002Fdandavison.github.io\u002Fdelta\u002Fgit-blame.html)]\n\n\u003Ctable>\u003Ctr>\u003Ctd>\u003Cimg width=600px src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F52205\u002F141891376-1fdb87dc-1d9c-4ad6-9d72-eeb19a8aeb0b.png\" alt=\"image\" \u002F>\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftable>\n\n### Ripgrep, git grep\n\n[[User manual](https:\u002F\u002Fdandavison.github.io\u002Fdelta\u002Fgrep.html)]\n\n\u003Ctable>\u003Ctr>\u003Ctd>\n\u003Cimg width=\"600px\" alt=\"image\" src=\"https:\u002F\u002Fgithub.com\u002Fdandavison\u002Fopen-in-editor\u002Fassets\u002F52205\u002Fd203d380-5acb-4296-aeb9-e38c73d6c27f\">\n\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftable>\n\n### Installation and usage\n\nPlease see the [user manual](https:\u002F\u002Fdandavison.github.io\u002Fdelta\u002F) and `delta --help`.\n\n### Maintainers\n\n- [@dandavison](https:\u002F\u002Fgithub.com\u002Fdandavison)\n- [@th1000s](https:\u002F\u002Fgithub.com\u002Fth1000s)\n","Delta 是一个为 Git、diff、grep 和 blame 输出提供语法高亮显示的分页器。它使用 Rust 语言编写，具有丰富的功能，如基于 Levenshtein 编辑推理算法的词级差异高亮、支持并排视图与行号显示、以及通过 `n` 和 `N` 键在大差异文件间导航等。此外，Delta 还能改进合并冲突和 `git blame` 的展示效果，并支持多种代码托管服务的超链接格式化。该项目非常适合需要频繁查看和分析代码差异的开发者使用，在提高代码审查效率的同时，也增强了阅读体验。",2,"2026-06-11 03:02:46","top_language"]