9 个仓库
Visual formatting for inline and multiline code blocks to distinguish technical content from prose.
Distinct from Code Style Guides: Candidates focus on developer tools for code formatting (linters/style guides) rather than CSS for displaying code in a UI.
Explore 9 awesome GitHub repositories matching user interface & experience · Code Snippet Styling. Refine with filters or upvote what's useful.
Spectre is a comprehensive CSS framework and UI utility toolkit designed for building responsive web interfaces. It functions as a CSS component library that provides pre-styled interface elements and helper classes to facilitate frontend UI development. The framework is distinguished by a pure-CSS component architecture that avoids dependence on external JavaScript runtimes. It utilizes a SASS-based build pipeline that supports class prefixing, stylesheet pruning, and a variable-based theme system for creating custom design systems. The project covers a wide range of layout and interface ca
Provides consistent visual styling for inline and multiline code blocks to distinguish technical text from prose.
A minimalist CSS framework.
Styles inline code snippets and preformatted code blocks for clear presentation of computer code.
This project is a JavaScript UI component library and frontend utility toolkit. It serves as a web modal framework and popup library, providing a specialized system for rendering interactive dialogs, overlays, and layered interfaces over web page content. The library is distinguished by its comprehensive set of overlay tools, including alert dialogs, confirmation prompts, and the ability to embed external content via iframes. It also features a responsive twelve-column grid system for cross-device layout compatibility and an internal modular dependency management system for on-demand loading
Provides visual formatting and styling for code snippets and blocks to improve technical content readability.
Webstudio is a visual CMS and website builder that provides a visual development environment for designing and publishing websites. It functions as an AI-powered design tool, a REST and GraphQL API client, and an atomic CSS compiler. The platform distinguishes itself through generative AI capabilities for creating layout variants and refining visual styles from text prompts. It integrates a headless CMS workflow that maps external data sources to visual components and utilizes a specialized compiler to convert design tokens into deduplicated atomic CSS for optimized page load speeds. The sys
Renders technical terms and code snippets using monospace formatting to distinguish them from prose.
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
Selects and renders a block of code into a polished image format for easy sharing or embedding.
Poml is a prompt management framework and templating engine designed for authoring, versioning, and rendering structured prompts for large language models. It uses a semantic markup language to organize prompts into reusable templates, combining them with dynamic context and data to generate formatted inputs. The system distinguishes itself by decoupling core prompt logic from final presentation through a stylesheet-based approach. It provides a dedicated JSON schema output generator to enforce strict, machine-parsable model responses and a configuration interface for managing function tool s
Formats technical content as inline or block-level code snippets within prompts.
Freeze 是一款代码转图像生成器和终端输出渲染器,可将源代码和 ANSI 终端文本转换为高质量图像。它作为命令行工具,将文本和样式序列转换为可缩放矢量图形,用于文档和演示文稿。 该工具通过伪终端环境捕获 shell 命令的原始输出,并将 ANSI 转义码和颜色直接转换为 SVG 样式,从而脱颖而出。它具有用于实时参数调整的终端用户界面,并支持配置配置文件以在多次导出中保持一致的视觉风格。 其功能面涵盖通过自定义字体嵌入和行高控制进行的排版管理,以及窗口框架、阴影和边距的视觉样式。它还包括用于语法高亮和从代码片段中裁剪特定行范围的实用程序。
Renders code blocks into styled image files with automatic language detection and line numbering.
react-syntax-highlighter 是一个用于在 React 应用程序中渲染带有语法高亮源代码的组件。它充当 PrismJS 和 Highlight.js 引擎的包装器,以提供格式化的代码显示和特定语言的颜色。 该项目提供了一个可定制的代码块渲染器,支持自定义 DOM 注入、行号显示和内联样式。它允许用户用自定义 React 组件替换默认的 HTML 标签,以控制代码如何注入到文档对象模型(DOM)中。 该库通过视觉主题和行号显示来管理代码呈现。它包括用于包优化的机制,例如异步加载高亮引擎和特定语言定义,以减少初始页面加载时间。
Applies custom visual formatting to inline and multiline code blocks to match a design system.
Papercss 是一个 CSS UI 框架和文档风格设计系统,用于构建响应式网页布局。它作为一个基于 Less 的 CSS 库,应用纸张般的审美和结构化排版,使网页呈现出物理文档的外观。该项目还结合了实用优先 (Utility-first) 的 CSS 库模型以实现快速样式设计。 该框架的特点是能够自动化视觉装饰,例如为子元素应用旋转边框样式和阴影效果。它利用基于 Less 的变量系统和模块化样式表编译,允许用户自定义全局设计变量并选择特定的组件集,以最小化最终样式表的大小。 该库涵盖了广泛的功能,包括基于 Flexbox 的 12 列响应式网格,以及模态框、警告通知和响应式导航栏等全面的 UI 组件。它还为技术内容提供专门的样式,包括代码块、数据表和文章布局,并支持浅色和深色模式。
Applies specific visual formatting to short code snippets embedded within text.