awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
syntaxhighlighter avatar

syntaxhighlighter/syntaxhighlighter

0
View on GitHub↗
5,305 نجوم·1,254 تفرعات·JavaScript·MIT·4 مشاهدات

Syntaxhighlighter

Syntaxhighlighter هي مكتبة واجهة أمامية تعتمد على JavaScript تُستخدم لتقديم كود مصدري قابل للقراءة على صفحات الويب. تعمل كمميز صيغة من جانب العميل يطبق ألواناً وتنسيقاً خاصاً باللغة على كتل كود النص العادي داخل المتصفح.

تسمح المكتبة بتوليد توزيعة دنيا من فرش اللغات والسمات المرئية المصممة خصيصاً لاحتياجات المشروع. يتيح ذلك إنشاء بناء مخصص يحتوي فقط على النصوص البرمجية وأوراق الأنماط المطلوبة.

يتعامل النظام مع تمييز الكود المصدري للتوثيق القائم على الويب ويدعم تجميع الأصول المخصص لتقليل حجم الحمولة النهائية.

Features

  • Syntax-Highlighted Code Blocks - Renders plain text code blocks with language-specific colors and formatting on the client side.
  • Syntax Highlighters - Implements a client-side library that renders code snippets with color-coded syntax highlighting.
  • Regex-Based Highlighting - Uses regular expressions to identify language-specific patterns and map them to CSS classes.
  • Visual Themes - Separates syntax identification logic from visual presentation using external stylesheet definitions.
  • Client-Side Code Formatters - Provides client-side processing and styling of source code directly in the browser for display.
  • Client-Side Text Transformations - Parses raw text within HTML elements and replaces it with formatted spans during browser runtime.
  • Code Display Libraries - Provides a JavaScript-based solution for rendering readable source code on web pages using customizable stylesheets.
  • Technical Documentation Styling - Applies visual formatting and syntax highlighting to technical documentation and guides.
  • Asset Bundling - Combines selected language brushes and themes into a single distribution file during the build process.
  • Asset Bundling - Processes selected brushes and themes into a minimal distribution package to optimize payload size.
  • Custom Bundle Builders - Generates a distribution script containing only the specific language brushes and themes required for the project.
  • Syntax Highlighting Configurators - Generates a minimal distribution of language brushes and visual themes tailored to specific project needs.
  • DOM Text Pattern Matching - Implements the scanning of text patterns within the DOM to apply syntax transformations.
  • Language Brush Loading - Allows importing only the required language definition files to reduce the final JavaScript payload size.

سجل النجوم

مخطط تاريخ النجوم لـ syntaxhighlighter/syntaxhighlighterمخطط تاريخ النجوم لـ syntaxhighlighter/syntaxhighlighter

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Syntaxhighlighter

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Syntaxhighlighter.
  • conorhastings/react-syntax-highlighterالصورة الرمزية لـ conorhastings

    conorhastings/react-syntax-highlighter

    4,663عرض على 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
    عرض على GitHub↗4,663
  • prismjs/prismالصورة الرمزية لـ PrismJS

    PrismJS/prism

    13,008عرض على GitHub↗

    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.

    JavaScript
    عرض على GitHub↗13,008
  • googlearchive/code-prettifyالصورة الرمزية لـ googlearchive

    googlearchive/code-prettify

    5,767عرض على GitHub↗

    Code-prettify is a browser-based tool and HTML syntax highlighter that adds visual formatting and line numbers to raw code blocks on web pages. It functions as a client-side code formatter and a customizable lexer library for defining language-specific highlighting rules. The system allows for the creation of custom lexers to provide syntax highlighting for proprietary or uncommon programming languages. Visual presentation is managed through custom code styling and the integration of external CSS stylesheets to define colors and fonts. The project provides automatic syntax highlighting and s

    JavaScript
    عرض على GitHub↗5,767
  • isagalaev/highlight.jsالصورة الرمزية لـ isagalaev

    isagalaev/highlight.js

    24,937عرض على GitHub↗

    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
    عرض على GitHub↗24,937
عرض جميع البدائل الـ 30 لـ Syntaxhighlighter→

الأسئلة الشائعة

ما هي وظيفة syntaxhighlighter/syntaxhighlighter؟

Syntaxhighlighter هي مكتبة واجهة أمامية تعتمد على JavaScript تُستخدم لتقديم كود مصدري قابل للقراءة على صفحات الويب. تعمل كمميز صيغة من جانب العميل يطبق ألواناً وتنسيقاً خاصاً باللغة على كتل كود النص العادي داخل المتصفح.

ما هي الميزات الرئيسية لـ syntaxhighlighter/syntaxhighlighter؟

الميزات الرئيسية لـ syntaxhighlighter/syntaxhighlighter هي: Syntax-Highlighted Code Blocks, Syntax Highlighters, Regex-Based Highlighting, Visual Themes, Client-Side Code Formatters, Client-Side Text Transformations, Code Display Libraries, Technical Documentation Styling.

ما هي البدائل مفتوحة المصدر لـ syntaxhighlighter/syntaxhighlighter؟

تشمل البدائل مفتوحة المصدر لـ syntaxhighlighter/syntaxhighlighter: conorhastings/react-syntax-highlighter — react-syntax-highlighter is a component for rendering source code with syntax highlighting in React applications. It… prismjs/prism — Prism is a JavaScript syntax highlighter and web-based code formatter. It functions as an extensible syntax engine… googlearchive/code-prettify — Code-prettify is a browser-based tool and HTML syntax highlighter that adds visual formatting and line numbers to raw… isagalaev/highlight.js — highlight.js is a JavaScript syntax highlighter and client-side code formatter that transforms plain text source code… sublimehq/packages — This repository contains a collection of extensions and configurations for a text editor plugin ecosystem. It provides… readthedocs/sphinx_rtd_theme — This project is a responsive Sphinx documentation theme that provides a visual layout and a set of Jinja2 templates…