22 repository-uri
Components for displaying code with syntax coloring.
Explore 22 awesome GitHub repositories matching part of an awesome list · Syntax Highlighting. Refine with filters or upvote what's useful.
highlight.js is a JavaScript syntax highlighter and client-side code formatter that transforms plain text source code into highlighted HTML for web display. It provides syntax highlighting across a wide variety of programming languages. The library includes an automatic language detector that identifies the programming language of a code block to apply the correct highlighting rules without manual tagging. It is designed for web worker compatibility, allowing the highlighting process to run in background threads to prevent the browser interface from freezing during the processing of large vol
JavaScript syntax highlighter.
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,
Core configuration and abstraction layer for Tree-sitter.
Prism is a JavaScript syntax highlighter and web-based code formatter. It functions as an extensible syntax engine designed to colorize and format code blocks on web pages, making various programming languages easier to read. The project processes raw code strings into styled HTML elements for use in frontend content rendering, technical documentation, and static site generation. It provides a modular system for adding custom language definitions and highlighting rules to a web-based code viewer.
Lightweight and robust syntax highlighter.
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-
Themeable highlighter powered by TextMate grammars.
GitHub-Dark is a browser extension theme and collection of user style sheets designed to provide a comprehensive dark mode aesthetic for the GitHub interface. It functions by injecting custom style rules directly into the browser to override default website colors, fonts, and layout properties, aiming to improve visual comfort and readability during extended use. The project distinguishes itself through its focus on deep integration and visual consistency. It includes specialized support for syntax highlighting across various programming languages and notebook environments, ensuring that code
Provides specialized color schemes for code blocks and notebook environments to ensure readability within the dark theme.
mini.nvim is a comprehensive library of independent modules designed to extend Neovim with a wide array of navigation, user interface, and text manipulation tools. It serves as a modular plugin collection, a UI toolkit for creating custom statuslines and notifications, and a package manager for installing and pinning external plugins from Git. The project provides a specialized fuzzy picker framework for filtering files and symbols, an LSP completion engine with interactive snippet expansion, and a dedicated plugin test framework that uses headless editor instances and remote procedure calls
Module for manipulating text surroundings and delimiters.
react-syntax-highlighter is a component for rendering source code with syntax highlighting in React applications. It acts as a wrapper for the PrismJS and Highlight.js engines to provide formatted code display and language-specific colors. The project provides a customizable code block renderer that supports custom DOM injection, line numbering, and inline styling. It allows users to replace default HTML tags with custom React components to control how code is injected into the document object model. The library covers code presentation management through visual themes and line numbering. It
Syntax highlighting using Prismjs or Highlightjs AST.
nvim-surround este o extensie bazată pe Lua pentru Neovim concepută pentru a adăuga, schimba și șterge perechi de delimitatori din jurul textului și codului. Funcționează ca un manipulator de obiecte text care învelește sau elimină paranteze, ghilimele și tag-uri folosind mișcări și selecții. Plugin-ul se integrează cu Tree-sitter pentru a identifica nodurile de cod structurale, permițând înconjurarea precisă a elementelor de sintaxă bazată pe arborele de sintaxă structurală. Suportă, de asemenea, definiții de surround personalizate, permițând utilizatorilor să definească perechi de delimitatori specializați și alias-uri. Suprafața de capabilități de bază acoperă operațiunile de surround, inclusiv adăugarea, schimbarea și ștergerea delimitatorilor. Include suport pentru repetarea celei mai recente acțiuni de surround pentru a menține consistența formatării în diferite selecții de text.
Add, change, or delete surrounding delimiter pairs.
Define custom text objects using Tree-sitter queries.
A lightweight Tree-sitter parser manager for Neovim.
Lightweight manager for Tree-sitter parsers.
Highlight arguments' definitions and usages, using Treesitter
Highlight argument definitions and usages.
Location and syntax aware text objects which do what you mean
Syntax-aware text objects for intuitive selection.
Treesitter grammar for Justfiles (casey/just)
Tree-sitter grammar for Justfiles.
Original modules from nvim-treesitter master branch
Original modules from the Tree-sitter master branch.
Generic log syntax highlighting and log filetype management for Neovim
Syntax highlighting and management for log files.
Basic editor support for the nushell language
Editor support for the Nushell language.
Custom treesitter queries for Home Manager nix files, in Neovim
Tree-sitter queries for Nix Home Manager files.
Use Telescope or fzf to view pre-defined/custom treesitter queries
Navigate code via Tree-sitter nodes.
A Neovim plugin that lets you view, reorder, and rename top-level code declarations through a floating window. Powered by Treesitter and LSP.
Structural code editor for viewing and annotating declarations.
A Neovim plugin for structural text navigation and editing
Edit and navigate text based on Tree-sitter structures.