RepositoryTypeScript
huozhi

huozhi/codice

Code presenting story in minimalism

143sao
2fork
0issue
0lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: code-sample

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: highlight

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: react-components

#1 Repository Của Tháng

✨ Codice: Component React nhẹ cho soạn trình bày code

Bộ component React tối giản cung cấp editor và code block với syntax highlighting.

Codice là một bộ component React nhẹ (142 sao trên GitHub) dành cho việc soạn trình bản code. Dự án cung cấp component Editor cho phép soạn thảo code và component Code với syntax highlighting để hiển thị code đẹp mắt. Cả hai component đều hỗ trợ tùy chỉnh thông qua CSS variables và HTML attributes.

✨ Điểm nổi bật

  • Editor component: Hỗ trợ soạn thảo code với title, controls, lineNumbers và textareaRef
  • Code block component: Hiển thị code với title, controls, preformatted, asMarkup và lineNumbers
  • CSS Variables tùy chỉnh: --codice-text-color, --codice-background-color, --codice-caret-color, --codice-control-color
  • CSS Attributes tùy chỉnh: [data-codice-controls] và [data-codice-control] với nth-child
  • Hệ sinh thái dự án: Là nền tảng cho sugar-high, remark-sugar-high và devjar

💡 Vì sao đáng chú ý

Codice khác biệt từ các thư viện code editor truyền thống bằng cách tập trung vào trải nghiệm soạn trình bày code thay vì soạn thảo phức tạp. Kiến trúc nhẹ cho phép dễ dàng tích hợp vào bất kỳ dự án React nào. Đặc biệt, Codice đã được các dự án như sugar-high (syntax highlighter) và devjar (React sandbox bundler) tích hợp, chứng tỏ khả năng mở rộng và hiệu suất.


#React #CodeEditor #SyntaxHighlighting #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryTypeScript
huozhi/sugar-high

Super lightweight code syntax highlighter solution

1.4k
Nov 15, 2026
RepositoryTypeScript
microsoft/vscode

Visual Studio Code

195.8k
Nov 22, 2026
RepositoryTypeScript
freeCodeCamp/freeCodeCamp

freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

459.4k
Nov 20, 2026
RepositoryJavaScript
mui/material-ui

Material UI: Comprehensive React component library that implements Google's Material Design. Free forever.

99.4k
Nov 22, 2026
RepositoryLua
lite-xl/lite-xl

A lightweight text editor written in Lua

6.6k
Nov 10, 2026
RepositoryJavaScript
kazzkiq/CodeFlask

A micro code-editor for awesome web pages.

1.1k
Sep 17, 2023
RepositoryCSS
justcaliturner/simple-code-editor

Simple code editor for Vue.js

186
Jun 28, 2025
RepositoryJavaScript
react/react

The library for web and native user interfaces.

252.9k
Nov 21, 2026
RepositoryJavaScript
vercel/next.js

The React Framework

143.6k
Nov 20, 2026