13 مستودعات
Transforming raw code strings into styled HTML structures for browser display.
Distinct from HTML Content Processing: Specifically addresses the transformation of code into styled HTML, not general HTML parsing.
Explore 13 awesome GitHub repositories matching user interface & experience · Code-to-HTML Rendering. Refine with filters or upvote what's useful.
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 raw code strings into styled HTML elements for browser-based display.
BlocksKit is a block-based UI framework and code block extension library designed to build interactive interfaces and component layouts within native application environments. It provides a structured system for defining complex content blocks and interactive elements that exceed standard formatting constraints. The framework includes a native-bridge communication layer that functions as a message bus for asynchronous data exchange between sandboxed guest blocks and a privileged native host. To manage these interactions, a runtime permission manager maps requested block functions to native ca
Enhances code blocks by removing restrictions and enabling specialized rendering and functional capabilities.
Codehike is a React-based documentation framework and interactive code walkthrough tool. It functions as a markdown content orchestrator that transforms decorated markdown into structured data and React components, serving as a visualization layer for highlighting code ranges, diffs, and compiler errors. The project is distinguished by its ability to create scrollycoding experiences and step-by-step technical tutorials. It features token-level animations that visually demonstrate how logic evolves between code versions and provides a system for syncing UI state to the browser scroll position.
Prevents specific code blocks from being processed based on custom conditional functions.
Markdig هو معالج Markdown عالي الأداء لتطبيقات .NET يقوم بتحويل نص Markdown إلى HTML أو تنسيقات مستهدفة أخرى. هو محلل متوافق مع CommonMark ومحرك قابل للتوسيع يمكنه تحويل Markdown إلى شجرة بناء جملة مجردة (AST) قابلة للبحث والتلاعب. توفر المكتبة إطار عمل لإضافة صيغ مخصصة ومنطق عرض من خلال خط أنابيب معياري من المحللات والمصممات. وتدعم التجميع الأصلي المسبق (AOT) والتقليم (trimming) لتقليل حجم الملف الثنائي. تشمل القدرات توليد HTML مهيكل بسمات وتنسيقات مخصصة، واستخراج بيانات YAML front matter لمعالجة المواقع الساكنة، وتحويل المحتوى إلى نص عادي. يغطي المحرك أيضاً التحسينات الطباعية، وإعداد الصيغ الرياضية، وتنسيق الروابط المؤتمت. يتضمن المعالج تعيين مصدر دقيق لتتبع نطاقات الأحرف ويستخدم بث المخرجات وحدود عمق التداخل لإدارة الأداء والاستقرار.
Transforms fenced code blocks into HTML containers for client-side diagram rendering.
Brick Design هو إطار عمل لبناء الصفحات منخفض الكود يستخدم لإنشاء محررات مرئية بالسحب والإفلات تولد كود تخطيط وتصميم جاهز للإنتاج لواجهات المستخدم. يعمل كمحرك تخطيط مرئي ومنسق لمكونات واجهة المستخدم، ويوفر الأدوات اللازمة لإدارة قيود المكونات، وقواعد التداخل، وتكوينات الخصائص المرئية. يتضمن إطار العمل مولد قوالب ديناميكياً يستخدم عرض المنطق ومتغيرات التعبير لإنشاء قوالب صفحات قابلة لإعادة الاستخدام ومدفوعة بالبيانات. كما يعمل كأداة تصميم متعددة الأجهزة، حيث يوفر تبديل منفذ العرض والأنماط التكيفية لضمان عرض متسق عبر شاشات سطح المكتب والجوال. يغطي النظام مجموعة واسعة من الإمكانيات بما في ذلك سير عمل التصميم إلى الكود، وتصميم التخطيط المتجاوب، والعرض المرئي في الوقت الفعلي. يدير تسلسلات هرمية معقدة لواجهة المستخدم من خلال محاذاة الالتقاط القائمة على الإحداثيات، وتعيين الخصائص المدفوع بالحالة، ودمج مكتبات المكونات الخارجية.
Simulates content rendering across different device dimensions to verify and validate responsive layouts.
Cherry Markdown is a web-based Markdown editor and parsing engine that converts markup text into sanitized HTML with a real-time synchronized preview pane. It functions as a rich text interface and WYSIWYG tool, providing a system for transforming markup strings into HTML documents or portable formats. The project distinguishes itself through high-performance rendering and a flexible extensibility model. It uses virtual DOM diffing and partial rendering to maintain responsiveness in large documents, and it allows for the creation of custom parsing rules and specialized HTML components via a p
Allows defining custom rendering rules to transform code blocks into specialized components or styled output.
react-syntax-highlighter هو مكون لعرض الكود المصدري مع تمييز بناء الجملة في تطبيقات React. يعمل كمغلف لمحركات PrismJS و Highlight.js لتوفير عرض كود منسق وألوان خاصة باللغة. يوفر المشروع عارض كتل كود قابل للتخصيص يدعم حقن DOM المخصص، وترقيم الأسطر، والتنسيق المضمن. يسمح للمستخدمين باستبدال علامات HTML الافتراضية بمكونات React مخصصة للتحكم في كيفية حقن الكود في نموذج كائن المستند. تغطي المكتبة إدارة عرض الكود من خلال السمات المرئية وترقيم الأسطر. تتضمن آليات لتحسين الحزمة، مثل تحميل محركات التمييز وتعريفات اللغة المحددة بشكل غير متزامن لتقليل أوقات تحميل الصفحة الأولية.
Implements a customizable renderer that allows replacing default HTML tags with user-defined React components for granular DOM control.
Braft Editor هو محرر نصوص غنية قائم على React ومبني على Draft.js يوفر إطار عمل لإنشاء المحتوى وتنسيقه. يعمل كمكون واجهة مستخدم قابل لإعادة الاستخدام يسمح للمستخدمين بتأليف مستندات منسقة في واجهة WYSIWYG وتصدير المحتوى الناتج كسلاسل HTML. يتميز المشروع بدعم مدمج للترجمة للغات متعددة، بما في ذلك الصينية واليابانية والكورية. يوفر نظاماً معيارياً لتوسيع وظائف المحرر من خلال الإضافات، وتعيينات شريط الأدوات المخصصة، وكيانات الوسائط المتخصصة. يغطي المحرر مجموعة واسعة من قدرات المحتوى، بما في ذلك تنسيق النصوص الغنية، وتنسيق الفقرات والكتل، وتنظيم القوائم المتداخلة. يدعم تضمين محتوى الوسائط المتعددة مثل الصور، والصوت، والفيديو، وكتل الكود المنسقة. تتم إدارة حالة المستند من خلال نمط المكون المتحكم فيه، مما يسمح بالمزامنة بين المحرر وحالة التطبيق.
Includes formatted code blocks that support tab-based indentation and custom visual rendering.
smtp4dev is a suite of tools featuring a mock SMTP server that intercepts outgoing email traffic and stores messages for inspection instead of delivering them to recipients. It includes a web-based viewer for inspecting email metadata, raw source code, and MIME structures, alongside a responsive email previewer that simulates how HTML emails appear across different viewport sizes and device layouts. The project provides a traffic analyzer to log protocol interactions and session data for debugging delivery failures. It also operates as a TLS SMTP server, supporting encrypted connections via T
Simulates email layouts by wrapping HTML content in adjustable containers to test responsive design.
diff2html is a Git diff visualization library that transforms unified diff text into structured HTML. It serves as a renderer for visualizing code changes in web browsers, providing components to inject stylized diff visualizations and collapsible file lists directly into web page elements. The library enables both side-by-side and line-by-line code comparisons. It includes a syntax highlighting diff viewer that applies language-specific color coding to source code based on file extensions or manual mappings. To maintain alignment during reviews, the project implements synchronized scrolling
Transforms unified diff text into styled HTML structures for visual representation in web browsers.
Yoopta-Editor is a headless framework for building customizable block-based rich text editors. It utilizes a JSON-based document engine to manage editor state and provides a WYSIWYG interface for creating structured documents. The system separates core document logic from the visual layer, allowing for complete customization of the user interface. The framework is designed for real-time collaborative editing, featuring a synchronization engine with conflict resolution and remote cursor presence tracking. It offers a highly extensible plugin system that allows developers to define new content
Overrides default code element representations to implement custom layouts or metadata displays.
Phoenix is a comprehensive web development suite that provides a browser-based code editor, an AI-powered coding assistant, and a live web previewer. It integrates a visual Markdown document editor and a web-based Git client, allowing users to write and manage HTML, CSS, and JavaScript across different devices and platforms. The environment features a visual UI design system that maps canvas manipulations directly to code and enables in-place CSS editing. It supports real-time change previews and responsive layout testing across multiple device breakpoints to verify rendering on phones, table
Simulates content rendering across different screen dimensions to verify responsive layouts on phones, tablets, and desktops.
pulldown-cmark is a pull-parsing library that transforms Markdown text into a stream of events based on the CommonMark specification. It functions as an event-based processor that represents document structure as an iterator of events rather than a concrete syntax tree, serving as both a parser and a renderer to convert Markdown into HTML strings. The library is designed for memory efficiency by processing text as a stream to minimize resource usage. It supports programmatic document transformation, allowing users to map or filter the event stream before final rendering. The project includes
Implements an event-driven rendering process to convert structural Markdown events into HTML strings.