awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
googlearchive avatar

googlearchive/code-prettifyArchived

0
View on GitHub↗
5,767 stele·885 fork-uri·JavaScript·Apache-2.0·3 vizualizări

Code Prettify

Code-prettify este un instrument bazat pe browser și un highlighter de sintaxă HTML care adaugă formatare vizuală și numere de linie blocurilor de cod brut de pe paginile web. Funcționează ca un formator de cod client-side și o bibliotecă lexer personalizabilă pentru definirea regulilor de evidențiere specifice limbajului.

Sistemul permite crearea de lexere personalizate pentru a oferi evidențierea sintaxei pentru limbaje de programare proprietare sau mai puțin comune. Prezentarea vizuală este gestionată prin stilizarea personalizată a codului și integrarea foilor de stil CSS externe pentru a defini culorile și fonturile.

Proiectul oferă evidențierea automată a sintaxei și numerotarea secvențială a liniilor pentru fragmentele de cod sursă încorporate în HTML. Suportă adăugarea de suport pentru limbaje personalizate și stilizarea documentației tehnice.

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.

Istoric stele

Graficul istoricului de stele pentru googlearchive/code-prettifyGraficul istoricului de stele pentru googlearchive/code-prettify

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Code Prettify

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Code Prettify.
  • bensadeh/tailspinAvatar bensadeh

    bensadeh/tailspin

    7,875Vezi pe 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
    Vezi pe GitHub↗7,875
  • alecthomas/chromaAvatar alecthomas

    alecthomas/chroma

    4,960Vezi pe 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
    Vezi pe GitHub↗4,960
  • conorhastings/react-syntax-highlighterAvatar conorhastings

    conorhastings/react-syntax-highlighter

    4,663Vezi pe 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
    Vezi pe GitHub↗4,663
  • zsh-users/zsh-syntax-highlightingAvatar zsh-users

    zsh-users/zsh-syntax-highlighting

    22,737Vezi pe 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
    Vezi pe GitHub↗22,737
Vezi toate cele 30 alternative pentru Code Prettify→

Întrebări frecvente

Ce face googlearchive/code-prettify?

Code-prettify este un instrument bazat pe browser și un highlighter de sintaxă HTML care adaugă formatare vizuală și numere de linie blocurilor de cod brut de pe paginile web. Funcționează ca un formator de cod client-side și o bibliotecă lexer personalizabilă pentru definirea regulilor de evidențiere specifice limbajului.

Care sunt principalele funcționalități ale googlearchive/code-prettify?

Principalele funcționalități ale googlearchive/code-prettify sunt: Syntax Highlighting, Language Support, Regex-Based Colorizers, Regular Expression Lexer Libraries, Pluggable Lexer Architectures, Syntax Highlighters, CSS Class-Based, Custom Highlight Rules.

Care sunt câteva alternative open-source pentru googlearchive/code-prettify?

Alternativele open-source pentru googlearchive/code-prettify includ: 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…