Rust syntax-highlighting

Open-source Rust projects categorized as syntax-highlighting

Top 18 Rust syntax-highlighting Projects

syntax-highlighting
  1. bat

    A cat(1) clone with wings.

    Project mention: 5 CLI Tools I Use to Keep Terminal Workflows Less Annoying | dev.to | 2026-05-07

    But for reading code, scripts, configs, Markdown, YAML, JSON, or anything where your eyes are expected to survive the experience, bat is much nicer.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. tailspin

    🌀 A log file highlighter

  4. gitlogue

    A cinematic Git commit replay tool for the terminal, turning your Git history into a living, animated story.

    Project mention: Ask HN: Who is hiring? (October 2026) | news.ycombinator.com | 2026-10-01

    Location: Erzurum, Turkey (UTC+3)

    Remote: Yes (remote only)

    Willing to relocate: No

    Technologies: GitHub Actions (CI), Python, shell (CI steps), mutation testing (mutants checked into the repo), Claude Code (agentic workflows)

    Résumé/CV: on request | GitHub: https://github.com/onur-kesim | Writing: https://dev.to/onurkesim

    Email: onurkesimbjk@gmail.com

    Test & CI assurance for AI-generated codebases. Your build is green. I measure whether that green means anything.

    Evidence rather than claims:

    A release step in a Rust project could go green on a 404 and record the SHA of the error response. I reported it; the maintainer wrote and merged a fix within three days: https://github.com/unhappychoice/gitlogue/issues/236

  5. syntect

    Rust library for syntax highlighting using Sublime Text syntax definitions.

    Project mention: gitsmith: A Terminal UI for Both GitLab and GitHub | dev.to | 2026-08-31

    This is where I spent the most time. gitsmith renders syntax-highlighted side-by-side diffs using syntect, with line numbers, a sticky file header, and a file list that follows your scroll. Press v on any MR or Enter on a commit.

  6. kibi

    A text editor in ≤1024 lines of code, written in Rust

  7. hgrep

    Grep with human-friendly search results

  8. r3bl-open-core

    Fully async Rust TUI engine 🦀. For powering AI/LLM coding agents, Cloud/SSH workflows & interactive CLIs: non-blocking readline, inline dialogs, React/Elm-style full-screen TUI, Markdown editor, PTY multiplexing & rust-analyzer MCP server.

  9. md-preview

    Native, local-first Markdown preview and quick editor. Multi-document tabs, session restore, macOS Finder workflow, offline Mermaid/KaTeX. Rust + system WebView, no Electron.

  10. oryx

    A fast, native and beautiful desktop viewer & editor for markdown and code with PDF export and eBooks rendering. (by wmahfoudh)

    Project mention: Show HN: Oryx 1.2.1 – Fast FOSS cross-platform Markdown editor and viewer | news.ycombinator.com | 2026-10-06
  11. hired

    A modern take on 'ed'

  12. ratatui-markdown

    Markdown rendering, Mermaid diagrams, syntax highlighting, collapsible trees, and rich scroll widgets for ratatui

  13. chroma_code

    Make beautiful colored code listings in LaTeX with the power of TreeSitter.

  14. makurust

    Markdown to HTML converter written in Rust. Inspired by Katsuki Yuri's Makudaun Tool.

  15. merl

    Code navigator for the terminal: find your way around a project and review the code agents write. Go to definition and usages without a language server, no config, works over SSH.

    Project mention: Show HN: Whiteboard (YC W26) – an open-source IDE for thoughtful software design | news.ycombinator.com | 2026-09-24

    There are a lot of emerging tools like this for which we will need a name. A similar one I randomly came across (https://github.com/Maksim-Burtsev/merl) calls itself a "Code Navigator."

    Along similar lines, I also don't know what we're calling tools like T3 or Superset. They're basically harnesses for harnesses.

  16. claude-hl

    Syntax colours for shell commands in Claude Code's output, Codex-style. A PTY wrapper; Claude Code runs unchanged.

    Project mention: Show HN: Claude-hl – syntax colours for shell commands in Claude Code output | news.ycombinator.com | 2026-09-06
  17. slate

    A fast, minimal text editor for Linux, built with GPUI Kit (by pinkpixel-dev)

    Project mention: What I Actually Learn When I Build With AI | dev.to | 2026-10-15

    I've been working on a text editor called Slate, which has been a really interesting learning experience for me.

  18. bat-c

    A Practical Syntax Highlighter for Minor Programming Languages

  19. editor

    Editor support for the Ktav configuration format — VS Code, IntelliJ, LSP server, shared TextMate grammar (by ktav-lang)

    Project mention: Ktav: I got fed up with every config format, so I built one with no quotes, no commas, no indentation hell | dev.to | 2026-06-11

    Editor plugins: ktav-lang/editor — VS Code + JetBrains

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust syntax-highlighting discussion

Log in or Post with

Rust syntax-highlighting related posts

Index

What are some of the best open-source syntax-highlighting projects in Rust? This list will help you:

# Project Stars
1 bat 61,230
2 tailspin 8,019
3 gitlogue 5,261
4 syntect 2,457
5 kibi 1,959
6 hgrep 522
7 r3bl-open-core 486
8 md-preview 295
9 oryx 177
10 hired 134
11 ratatui-markdown 48
12 chroma_code 36
13 makurust 27
14 merl 13
15 claude-hl 11
16 slate 6
17 bat-c 2
18 editor 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Rust is
the 3rd most popular programming language
based on number of references?