Tailspin is a regex-based text colorizer and terminal log viewer designed to transform plain text streams into colorized output. It functions as a command line log highlighter and tailer that applies syntax highlighting to logs using regular expressions. The tool distinguishes itself through its ability to monitor files in real time and pipe live output through a highlighter. It recognizes and colors common data types such as IP addresses, UUIDs, HTTP methods, JSON objects, dates, and memory pointers. Users can define custom highlight styles and regex patterns to assign specific colors to uni
Chroma is a syntax highlighter written in Go that converts raw source code into colorized text or HTML. It identifies programming languages and tokens using language-specific lexers to produce highlighted output for various environments. The project utilizes a theme-driven colorization system that decouples token types from final colors through an intermediate style mapping layer. This allows for custom code theming by mapping specific token categories to foreground and background colors. The system covers language identification, terminal text formatting for ANSI-compatible viewers, and web
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
zsh-syntax-highlighting is a Zsh shell extension and plugin that provides real-time syntax highlighting and visual feedback. It functions as an interactive command-line visual aid and regular expression text colorizer that distinguishes between commands, string literals, and shell constructs during input. The project allows for extensive customization through user-defined highlight rules, custom regular expression patterns, and predicate logic. It includes specific capabilities for path-based filtering and the assignment of custom colors to text segments. The system provides real-time comman
Code-prettify 是一个基于浏览器的工具和 HTML 语法高亮器,可为网页上的原始代码块添加视觉格式和行号。它作为一个客户端代码格式化程序和用于定义特定语言高亮规则的可定制词法分析器库。
googlearchive/code-prettify 的主要功能包括:Syntax Highlighting, Language Support, Regex-Based Colorizers, Regular Expression Lexer Libraries, Pluggable Lexer Architectures, Syntax Highlighters, CSS Class-Based, Custom Highlight Rules。
googlearchive/code-prettify 的开源替代品包括: bensadeh/tailspin — Tailspin is a regex-based text colorizer and terminal log viewer designed to transform plain text streams into… alecthomas/chroma — Chroma is a syntax highlighter written in Go that converts raw source code into colorized text or HTML. It identifies… conorhastings/react-syntax-highlighter — react-syntax-highlighter is a component for rendering source code with syntax highlighting in React applications. It… zsh-users/zsh-syntax-highlighting — zsh-syntax-highlighting is a Zsh shell extension and plugin that provides real-time syntax highlighting and visual… prismjs/prism — Prism is a JavaScript syntax highlighter and web-based code formatter. It functions as an extensible syntax engine… syntaxhighlighter/syntaxhighlighter — Syntaxhighlighter is a JavaScript-based frontend library used to render readable source code on web pages. It…