7 Repos
Styling configurations for code blocks including syntax highlighting themes, typography, and container aesthetics.
Distinguishing note: Specifically targets the visual styling of code snippets for presentation rather than general UI component styling.
Explore 7 awesome GitHub repositories matching user interface & experience · Code Presentation Themes. Refine with filters or upvote what's useful.
Carbon is a code visualization tool that transforms raw source code into stylized, high-quality images for use in technical documentation, social media, and educational content. It functions as a browser-based editor that utilizes a language-aware tokenization engine to apply syntax highlighting and visual themes to text. The platform distinguishes itself through its versatile delivery models, which include a standalone desktop application for offline use and programmatic interfaces for automated snippet generation via command-line tools or messaging bots. Users can customize the visual prese
Customizing the visual appearance of code blocks with specific themes, fonts, and window styles to maintain consistent branding across platforms.
Polacode is a VS Code extension that converts code snippets into styled, shareable images. It functions as a dedicated code screenshot generator and image exporter, allowing users to capture selected code and render it as a polished visual for documentation, social media, or presentations. The extension provides a dedicated editor pane where users can paste and preview code before generating a screenshot. It offers screenshot customization features including adjustable background color, shadow, transparency, and target image format, all managed through VS Code's settings system. The capture a
Customizes the visual appearance of code screenshots with background colors, shadows, and transparency settings.
Code Surfer is a web-based code slide framework and presentation tool designed for creating technical slides. It functions as a code animation library and diff visualizer that enables the rendering of source code with animated transitions, zooming, and highlighting. The project focuses on visualizing code evolution through state morphing and diff animations. It uses coordinate-based view transitions and smooth scrolls to guide viewers through changes between different code versions across a slide deck. The framework provides capabilities for attention management via line-level focus, section
Styles code, backgrounds, and typography using predefined themes or custom configuration objects.
Codehike ist ein React-basiertes Dokumentations-Framework und Tool für interaktive Code-Walkthroughs. Es fungiert als Markdown-Content-Orchestrator, der annotiertes Markdown in strukturierte Daten und React-Komponenten umwandelt und als Visualisierungsebene für das Hervorheben von Code-Bereichen, Diffs und Compiler-Fehlern dient. Das Projekt zeichnet sich durch die Fähigkeit aus, „Scrollycoding“-Erlebnisse und schrittweise technische Tutorials zu erstellen. Es bietet Animationen auf Token-Ebene, die visuell demonstrieren, wie sich Logik zwischen Code-Versionen entwickelt, und ermöglicht die Synchronisierung des UI-Zustands mit der Scroll-Position des Browsers. Das Framework deckt eine breite Palette an Visualisierungsfunktionen ab, darunter Code-Slideshows, Spotlight-Layouts und Code-Blöcke mit Tabs. Es unterstützt detaillierte Code-Annotationen durch Tooltips, Callouts und Fußnoten sowie funktionale Hilfsmittel wie Sprachumschalter, Code-Transpilierung und die Integration von Echtzeit-Compiler-Daten. Das System nutzt schema-basierte Validierung, um Typsicherheit und Konsistenz für die aus Markdown-Dateien extrahierten strukturierten Daten zu gewährleisten.
Overrides the default display of the code container and tokens to implement custom themes and layouts.
Chroma ist ein in Go geschriebener Syntax-Highlighter, der rohen Quellcode in farbigen Text oder HTML umwandelt. Er identifiziert Programmiersprachen und Tokens unter Verwendung sprachspezifischer Lexer, um hervorgehobene Ausgaben für verschiedene Umgebungen zu erzeugen. Das Projekt nutzt ein theme-gesteuertes Kolorierungssystem, das Tokentypen durch eine zwischengeschaltete Style-Mapping-Schicht von den endgültigen Farben entkoppelt. Dies ermöglicht benutzerdefinierte Code-Theming-Optionen durch das Mapping spezifischer Token-Kategorien auf Vorder- und Hintergrundfarben. Das System deckt Spracherkennung, Terminal-Textformatierung für ANSI-kompatible Viewer und Web-Code-Präsentation mittels HTML-Generierung mit Zeilennummerierung und CSS-Klassen ab. Es enthält zudem ein Command-Line-Interface zur Kolorierung von Dateien direkt im Terminal.
Creates highlighted HTML snippets with custom styles and line numbers for web display.
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
Manages visual styling for code blocks, including syntax highlighting themes, typography, and line wrapping.
react-syntax-highlighter is a React component that renders source code with language-specific syntax coloring. It wraps the Prism and Highlight.js syntax highlighting libraries, tokenizing source code using their language grammars and mapping each token to a styled React element. The component operates in two styling modes: inline style objects applied directly to each token, or CSS class names that can be themed via external stylesheets. This dual-mode approach makes the highlighter portable across environments where CSS class injection may or may not be available. The component is built aro
Applies custom color themes and language grammars to code blocks for consistent branding.