krz/hutch

an ios client for sourcehut

clone: git clone https://gitbay.org/krz/hutch.git

044c33f7f43db1f38d6c44dd8f483298d9efcc06

signed_unknown_key

author: Christian Cleberg <hello@cleberg.net> · 2026-08-07T07:52:03Z
committer: <noreply@github.com>

Merge pull request #30 from krazywarez/syntax-highlighting

Add multi-language syntax highlighting (#16)
 Hutch.xcodeproj/project.pbxproj                    |  17 ++
 .../xcshareddata/swiftpm/Package.resolved          |  11 +-
 Hutch/Views/Repositories/FileTreeView.swift        |  49 +++--
 .../Views/Repositories/MarkdownHTMLRenderer.swift  |  19 +-
 Hutch/Views/Repositories/ReadmeView.swift          |  28 ++-
 Hutch/Views/Repositories/SyntaxHighlighter.swift   | 222 +++++++++++++++++++++
 Hutch/Views/Tickets/TicketDetailView.swift         |  12 +-
 HutchTests/SyntaxHighlighterTests.swift            |  48 +++++
 8 files changed, 377 insertions(+), 29 deletions(-)