32 مستودعات
Rendering source code with syntax highlighting in the terminal.
Explore 32 awesome GitHub repositories matching user interface & experience · Code Highlighting. Refine with filters or upvote what's useful.
Rich is a comprehensive library for building sophisticated command-line interfaces and terminal applications. It provides a robust console formatting engine and a layout framework that enables developers to render rich text, syntax-highlighted code, and complex data structures directly in the terminal. By utilizing a recursive constraint-based layout engine, the library allows for the creation of hierarchical grids, panels, and trees that maintain their structure even as terminal dimensions change. What distinguishes the library is its ability to manage persistent, real-time terminal interfac
Highlights source code syntax directly within the terminal for improved developer experience.
Lapce is a high-performance text editor built with Rust that utilizes hardware acceleration for fast rendering and responsiveness. It functions as a modal text editor with Vim-style keybindings to minimize hand movement, an LSP client for language intelligence, and a remote development environment for editing files and executing code on distant servers. The editor features an extensible architecture based on the WebAssembly System Interface, allowing it to execute plugins compiled to WASI for cross-language functionality. It further distinguishes itself by implementing the Debug Adapter Proto
Identifies code structures using semantic analysis for syntax highlighting, inlay hints, and document symbols.
YouCompleteMe is a completion engine and semantic code analyzer for the Vim editor. It provides an integrated suite of development tools, including a Language Server Protocol client and a semantic analyzer that utilizes Clang to offer context-aware symbols and type-based highlighting. The project distinguishes itself through specialized semantic completion for C-family languages and JavaScript, offering identifiers, snippets, and automatic imports. It provides advanced visual feedback such as inlay hints for type information and parameter names, as well as semantic highlighting based on the a
Provides semantic highlighting by coloring code tokens based on their role in the abstract syntax tree.
Monaspace is a collection of monospaced font families engineered specifically for programming environments. The system functions as a comprehensive typography suite that balances traditional grid-based alignment with expressive design aesthetics to improve visual hierarchy and readability within text editors. The project distinguishes itself through advanced font engineering that utilizes variable axes and contextual rules to modify character appearance dynamically. By employing semantic mapping and open-type feature injection, the fonts automatically adjust glyph shapes and spacing based on
Uses expressive font variations and weights to visually distinguish different programming constructs and improve the structure of displayed code.
RenderCV is a command-line utility designed to transform structured YAML data into professionally typeset documents. By separating content from presentation, it allows users to maintain version-controlled resumes that are automatically rendered into high-quality PDF, HTML, and Markdown formats. The system leverages a specialized typesetting engine to ensure precise layout control and professional-grade typography. The project distinguishes itself through a schema-driven approach that enforces strict data validation, ensuring that input files are error-free before processing. Users can customi
Identifies and bolds specific keywords within resume content for improved readability.
Rust-analyzer is a language server implementation that provides real-time code intelligence, static analysis, and development productivity tools for the Rust programming language. It functions as a backend engine that communicates with text editors to deliver deep structural understanding of source code, enabling features like semantic analysis, symbol navigation, and automated refactoring. The project distinguishes itself through a core engine designed for high-performance responsiveness, utilizing incremental query-based compilation and lazy demand-driven evaluation to minimize resource con
The language server visually identifies related code elements such as references, exit points, loop breaks, or closure captures based on the current cursor position.
This project provides an integration of Tree-sitter into the Neovim editor to enable structural code analysis. It serves as a framework for structural code navigation, context-aware syntax highlighting, and the management of language-specific parsers. The system distinguishes itself through a multi-language injection handler that identifies and parses embedded languages within a single document. It uses a dedicated parser manager to install, update, and remove grammar definitions and their associated query files. The tool covers several capability areas including incremental text selection,
Identifies and parses embedded code blocks within a primary document to apply multiple language grammars simultaneously.
Shiki is a syntax highlighting engine that generates color-coded HTML or ANSI output from source code. It functions as a static code highlighter, utilizing standard grammar definitions to parse text and apply accurate visual styling for documentation and terminal displays. The engine distinguishes itself by using a TextMate grammar parser to interpret text patterns, ensuring that code displays match the visual appearance of professional editors. It operates through an isomorphic runtime that supports both browser and server environments, utilizing WebAssembly for consistent execution and pre-
A high-performance engine that generates color-coded HTML or ANSI output from source code for documentation and terminal display.
This project is a collection of programming language references and syntax cheat sheets designed for rapid developer onboarding. It serves as a library of code-based documentation that uses valid source code files to provide whirlwind tours of various language specifications. The project focuses on programming language learning by providing concise, commented code examples that explain core features and syntax in place. This approach enables developers to quickly grasp language-specific patterns, data types, and execution flow through a consistent reference format. The content covers a broad
Renders source code with syntax highlighting to maintain technical accuracy for learners.
Opentui is a terminal user interface framework for building interactive command line applications. It provides a component-based system featuring a flexbox layout engine, a virtual node component tree, and a low-level 2D cell array renderer. The project is distinguished by a sophisticated keyboard binding engine that maps complex multi-stroke sequences and chords to named commands using prioritized, reactive layers. It also implements a plugin architecture that allows external modules to inject custom UI components into designated layout slots and extend input logic at runtime. Its capabilit
Styles embedded code within other languages using injection mappings and code fence labels.
This repository contains a collection of code examples that demonstrate how to build extensions for Visual Studio Code using its extension API. The samples cover the core patterns for extending the editor, including implementing code actions, completions, snippets, and semantic token highlighting. The examples show how to integrate a language server to provide diagnostics, completions, and hover information, as well as how to register a source control provider with file status and commit operations. Custom task types that run shell commands or scripts are also demonstrated, along with virtual
Colors code tokens based on their semantic meaning, such as types, functions, or variables.
This project is a comprehensive productivity guide and configuration reference for the VS Code editor. It provides a curated collection of shortcuts, configuration tips, and tutorials designed to improve efficiency and optimize the daily coding workflow. The resource covers advanced AI-assisted development, including the integration of autonomous agents, custom prompt files, and AI-powered coding assistants for task automation and code generation. It also provides specialized guidance on integrated terminal management, such as configuring shell profiles and automating command execution. Addi
Provides guidance on defining custom token types for context-aware syntax coloring based on code meaning.
NexT is a responsive, elegant static blog theme for Hexo that generates HTML pages from Markdown posts. It is designed as a pre-built visual design for the Hexo framework, producing mobile-friendly layouts that adapt across devices with support for dark mode and multiple visual schemes. The theme distinguishes itself through extensive customization options, including five built-in code highlighting themes for technical blog posts and a multilingual interface supporting over 15 languages. It offers configuration flexibility by allowing theme settings to be stored either in the main Hexo config
Changes the appearance of code blocks by selecting from five built-in highlighting themes.
LeetCode-Book is a curated study resource and markdown algorithm guide designed for technical interview preparation. It serves as a multi-language code library that provides solutions and explanations for coding challenges to help users study data structures and algorithmic principles. The project is delivered as a Docusaurus documentation website, which transforms a directory of version-controlled markdown files into a structured and searchable online technical resource. The repository covers an algorithm study workflow that includes tracking LeetCode problems and following curated study pl
Provides multi-language code blocks to allow comparison of different algorithmic implementations for the same problem.
Presenterm is a CLI presentation framework and tool used to create interactive slide decks directly in the terminal. It functions as a Markdown slide renderer, transforming Markdown files into formatted terminal presentations with support for synchronized speaker notes and custom YAML themes. The project distinguishes itself through a built-in terminal code executor that runs code snippets live during a presentation, replacing source blocks with real-time output. It also features a terminal image renderer capable of displaying local images, animated GIFs, and pre-rendered diagrams or mathemat
Renders source code with syntax highlighting, configurable padding, line numbers, and background colors in the terminal.
tokyonight.nvim is a Lua-based Neovim plugin that provides a collection of dark and light color schemes and UI themes. It defines color palettes and highlight group configurations to manage syntax highlighting and the overall visual aesthetic of the editor. The project enables the export of terminal color palettes to maintain a unified visual style across terminal emulators and other system applications. It also includes mechanisms to match the visual style of third-party extensions to the primary theme for workspace consistency. Users can refine the visual appearance through color palette c
Maps semantic tokens from the syntax engine to specific color values for precise code highlighting.
PHP-Console-Highlighter هو أداة تمييز الصيغة ومنسق كود للطرفية مصمم لتطبيق تلوين كود مصدر PHP للعرض في بيئات الطرفية. يعمل كأداة لتحويل نص PHP العادي إلى كود مهيكل بصرياً لواجهات سطر الأوامر. تتيح الأداة مراجعة الكود القائمة على الطرفية وتوفر مخرجات منسقة لأدوات التحليل الساكن لـ PHP وتطبيقات سطر الأوامر. يستخدم تقسيم الرموز القائم على التعبيرات النمطية (regex) وتعيين ألوان تسلسل ANSI لترجمة رموز الصيغة إلى نص ملون.
Provides syntax highlighting for PHP source code specifically designed for rendering in terminal environments.
Vetur is a Visual Studio Code extension that provides comprehensive language support for Vue single-file components. It parses .vue files into separate template, script, and style regions, then delegates each region to its own language service for independent processing. This architecture enables IntelliSense, type-checking, formatting, and linting across all embedded languages within a Vue file. The extension distinguishes itself through deep integration with Vue's component model. It infers TypeScript types for template expressions by analyzing component props, data, and computed properti
Applies semantic token coloring to TypeScript and JavaScript code inside .vue files for richer syntax highlighting.
Pyrefly is a static type checker for Python that operates as a language server, delivering real-time diagnostics, completions, and navigation in any editor supporting the Language Server Protocol. It also performs static tensor shape analysis, using symbolic dimension variables and arithmetic to verify shape consistency in deep learning models without runtime execution. Beyond core type checking, Pyrefly supports gradual adoption workflows: it can generate a baseline of known errors so only new issues are reported, migrate configuration from other type checkers, and automatically suppress exi
Applies rich syntax highlighting based on token type and origin from semantic analysis.
lsp-mode is a Language Server Protocol client and IDE feature set for Emacs. It functions as a semantic code analysis tool and JSON-RPC communication layer that connects the editor to external language servers to provide intelligent code completion and real-time diagnostics. The project also serves as a Debug Adapter Protocol client, enabling interactive debugging sessions and breakpoint management. This allows for stepping through code and inspecting variables via a standardized protocol, including support for debugging within Docker containers. The system covers a broad range of developmen
Colors code elements based on semantic analysis of symbols and types provided by the language server.