mirror of
https://github.com/matze/wastebin.git
synced 2026-04-25 00:25:59 +03:00
[PR #17] [CLOSED] Use tree-painter for syntax highlighting #124
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wastebin-matze#124
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/matze/wastebin/pull/17
Author: @matze
Created: 2/7/2023
Status: ❌ Closed
Base:
master← Head:tree-painter📝 Commits (1)
054fa16Use tree-painter for syntax highlighting📊 Changes
9 files changed (+300 additions, -75 deletions)
View changed files
➕
.gitmodules(+3 -0)📝
Cargo.lock(+242 -0)📝
Cargo.toml(+1 -0)📝
src/errors.rs(+2 -5)📝
src/highlight.rs(+41 -42)📝
src/pages.rs(+2 -3)📝
src/themes/style.css(+4 -19)📝
templates/index.html(+4 -6)➕
tree-painter(+1 -0)📄 Description
This is a work-in-progress PR potentially replacing syntect for tree-painter.
Comparison
Besides that highlighting is subjectively richer with tree-painter on the other hand the build process is much more involved.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.