awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
googlearchive avatar

googlearchive/code-prettifyArchived

0
View on GitHub↗
5,767 Stars·885 Forks·JavaScript·Apache-2.0·3 Aufrufe

Code Prettify

Code-prettify ist ein browserbasiertes Tool und HTML-Syntax-Highlighter, der Codeblöcken auf Webseiten visuelle Formatierung und Zeilennummern hinzufügt. Es fungiert als clientseitiger Code-Formatter und als anpassbare Lexer-Bibliothek zur Definition sprachspezifischer Hervorhebungsregeln.

Das System ermöglicht die Erstellung benutzerdefinierter Lexer, um Syntax-Hervorhebung für proprietäre oder ungewöhnliche Programmiersprachen bereitzustellen. Die visuelle Präsentation wird durch benutzerdefiniertes Code-Styling und die Integration externer CSS-Stylesheets zur Definition von Farben und Schriftarten verwaltet.

Das Projekt bietet automatische Syntax-Hervorhebung und sequentielle Zeilennummerierung für in HTML eingebettete Quellcode-Snippets. Es unterstützt das Hinzufügen von benutzerdefinierter Sprachunterstützung und das Styling technischer Dokumentationen.

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.

Star-Verlauf

Star-Verlauf für googlearchive/code-prettifyStar-Verlauf für googlearchive/code-prettify

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht googlearchive/code-prettify?

Code-prettify ist ein browserbasiertes Tool und HTML-Syntax-Highlighter, der Codeblöcken auf Webseiten visuelle Formatierung und Zeilennummern hinzufügt. Es fungiert als clientseitiger Code-Formatter und als anpassbare Lexer-Bibliothek zur Definition sprachspezifischer Hervorhebungsregeln.

Was sind die Hauptfunktionen von googlearchive/code-prettify?

Die Hauptfunktionen von googlearchive/code-prettify sind: Syntax Highlighting, Language Support, Regex-Based Colorizers, Regular Expression Lexer Libraries, Pluggable Lexer Architectures, Syntax Highlighters, CSS Class-Based, Custom Highlight Rules.

Welche Open-Source-Alternativen gibt es zu googlearchive/code-prettify?

Open-Source-Alternativen zu googlearchive/code-prettify sind unter anderem: 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…

Open-Source-Alternativen zu Code Prettify

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Code Prettify.
  • bensadeh/tailspinAvatar von bensadeh

    bensadeh/tailspin

    7,875Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗7,875
  • alecthomas/chromaAvatar von alecthomas

    alecthomas/chroma

    4,960Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗4,960
  • conorhastings/react-syntax-highlighterAvatar von conorhastings

    conorhastings/react-syntax-highlighter

    4,663Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗4,663
  • zsh-users/zsh-syntax-highlightingAvatar von zsh-users

    zsh-users/zsh-syntax-highlighting

    22,737Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗22,737
Alle 30 Alternativen zu Code Prettify anzeigen→