4 مستودعات
Tools that process and style source code directly in the browser for display.
Distinct from Client-Side Directives: Candidates were focused on media processing or storage; this is specifically about code formatting and styling in the browser.
Explore 4 awesome GitHub repositories matching web development · Client-Side Code Formatters. Refine with filters or upvote what's useful.
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
Processes and styles source code directly in the browser to avoid the need for server-side rendering.
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.
Processes and styles source code directly in the browser for consistent visual presentation.
Code-prettify هو أداة تعتمد على المتصفح ومميز صيغة HTML يضيف تنسيقاً بصرياً وأرقام أسطر إلى كتل الكود الخام على صفحات الويب. يعمل كمنسق كود من جانب العميل ومكتبة محلل (lexer) قابلة للتخصيص لتحديد قواعد التمييز الخاصة باللغة. يسمح النظام بإنشاء محللات مخصصة لتوفير تمييز الصيغة للغات البرمجة المملوكة أو غير الشائعة. تتم إدارة العرض البصري من خلال تنسيق كود مخصص ودمج أوراق أنماط CSS خارجية لتحديد الألوان والخطوط. يوفر المشروع تمييزاً تلقائياً للصيغة وترقيماً تسلسلياً للأسطر لمقتطفات الكود المصدري المضمنة في HTML. يدعم إضافة دعم لغات مخصصة وتنسيق الوثائق التقنية.
Functions as a browser-based tool that adds line numbers and visual formatting to raw code blocks.
Syntaxhighlighter هي مكتبة واجهة أمامية تعتمد على JavaScript تُستخدم لتقديم كود مصدري قابل للقراءة على صفحات الويب. تعمل كمميز صيغة من جانب العميل يطبق ألواناً وتنسيقاً خاصاً باللغة على كتل كود النص العادي داخل المتصفح. تسمح المكتبة بتوليد توزيعة دنيا من فرش اللغات والسمات المرئية المصممة خصيصاً لاحتياجات المشروع. يتيح ذلك إنشاء بناء مخصص يحتوي فقط على النصوص البرمجية وأوراق الأنماط المطلوبة. يتعامل النظام مع تمييز الكود المصدري للتوثيق القائم على الويب ويدعم تجميع الأصول المخصص لتقليل حجم الحمولة النهائية.
Provides client-side processing and styling of source code directly in the browser for display.