awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
googlearchive avatar

googlearchive/code-prettifyArchived

0
View on GitHub↗
5,767 estrellas·885 forks·JavaScript·Apache-2.0·2 vistas

Code Prettify

Code-prettify es una herramienta basada en navegador y resaltador de sintaxis HTML que añade formato visual y números de línea a bloques de código sin procesar en páginas web. Funciona como un formateador de código del lado del cliente y una librería de lexer personalizable para definir reglas de resaltado específicas del lenguaje.

El sistema permite la creación de lexers personalizados para proporcionar resaltado de sintaxis para lenguajes de programación propietarios o poco comunes. La presentación visual se gestiona a través de estilos de código personalizados y la integración de hojas de estilo CSS externas para definir colores y fuentes.

El proyecto proporciona resaltado de sintaxis automático y numeración de líneas secuencial para fragmentos de código fuente incrustados en HTML. Admite la adición de soporte para lenguajes personalizados y el estilo de la documentación técnica.

Features

  • Syntax Highlighting - Adds readable syntax highlighting to source code snippets embedded in HTML pages for better readability.
  • Language Support - Enables the addition of custom lexers to provide syntax highlighting for languages not supported by default.
  • Regex-Based Colorizers - Uses regular expression patterns to identify language tokens and wrap them in HTML spans for styling.
  • Regular Expression Lexer Libraries - Provides a system for defining language-specific rules to highlight syntax using regular expression patterns.
  • Pluggable Lexer Architectures - Provides a pluggable architecture for adding new language definitions via custom tokenization rules.
  • Syntax Highlighters - Applies syntax highlighting to source code snippets embedded in HTML pages via CSS styling.
  • CSS Class-Based - Maps identified syntax tokens to predefined CSS classes to separate highlighting logic from visual presentation.
  • Custom Highlight Rules - Allows the creation of specialized syntax highlighting rules for proprietary or uncommon programming languages.
  • Syntax Highlighting Styles - Defines the visual appearance of highlighted code elements by applying specific CSS classes to marked-up text.
  • Client-Side Code Formatters - Functions as a browser-based tool that adds line numbers and visual formatting to raw code blocks.
  • Code Formatting - Organizes and numbers lines of code within web pages to help users follow complex scripts.
  • Technical Documentation Styling - Improves the visual presentation of code examples in guides and manuals using customizable CSS themes.
  • Code Line Numbering - Calculates line breaks in source text to insert sequential numbering at the start of each code block.
  • Compatible Stylesheets - Integrates external CSS stylesheets to define specific colors, fonts, and print appearances for highlighted code.

Historial de estrellas

Gráfico del historial de estrellas de googlearchive/code-prettifyGráfico del historial de estrellas de googlearchive/code-prettify

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Code Prettify

Proyectos open-source similares, clasificados según cuántas características comparten con Code Prettify.
  • bensadeh/tailspinAvatar de bensadeh

    bensadeh/tailspin

    7,875Ver en GitHub↗

    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

    Rustcczecolorizercolors
    Ver en GitHub↗7,875
  • alecthomas/chromaAvatar de alecthomas

    alecthomas/chroma

    4,960Ver en GitHub↗

    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

    Goconsolegogolang
    Ver en GitHub↗4,960
  • conorhastings/react-syntax-highlighterAvatar de conorhastings

    conorhastings/react-syntax-highlighter

    4,663Ver en GitHub↗

    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

    JavaScript
    Ver en GitHub↗4,663
  • zsh-users/zsh-syntax-highlightingAvatar de zsh-users

    zsh-users/zsh-syntax-highlighting

    22,737Ver en GitHub↗

    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

    Shellscreenshotshellsyntax-highlighting
    Ver en GitHub↗22,737
Ver las 30 alternativas a Code Prettify→

Preguntas frecuentes

¿Qué hace googlearchive/code-prettify?

Code-prettify es una herramienta basada en navegador y resaltador de sintaxis HTML que añade formato visual y números de línea a bloques de código sin procesar en páginas web. Funciona como un formateador de código del lado del cliente y una librería de lexer personalizable para definir reglas de resaltado específicas del lenguaje.

¿Cuáles son las características principales de googlearchive/code-prettify?

Las características principales de googlearchive/code-prettify son: Syntax Highlighting, Language Support, Regex-Based Colorizers, Regular Expression Lexer Libraries, Pluggable Lexer Architectures, Syntax Highlighters, CSS Class-Based, Custom Highlight Rules.

¿Qué alternativas de código abierto existen para googlearchive/code-prettify?

Las alternativas de código abierto para googlearchive/code-prettify incluyen: 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…