GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pheralb/code-blocks: ✨ A set of UI components & utilities to show your code beautifully.

BranchesTags
Open more actions menu

Latest commit

 

History

494 Commits
494 Commits

Folders and files

NameName
Last commit message
Last commit date
.agents/react-doctor
.agents/react-doctor
 
 
.github
.github
 
 
.vscode
.vscode
 
 
apps/website
apps/website
 
 
packages
packages
 
 
.gitignore
.gitignore
 
 
.npmrc
.npmrc
 
 
.prettierignore
.prettierignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
clean-modules.mjs
clean-modules.mjs
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
pnpm-workspace.yaml
pnpm-workspace.yaml
 
 
prettier.config.mjs
prettier.config.mjs
 
 
turbo.json
turbo.json
 
 

Repository files navigation

@pheralb/code-blocks

A code-block UI component. Copy-Paste. Customizable.

Get Started   ✦   Components   ✦   Blocks   ✦   Contributing   ✦   License

@pheralb/code-blocks screenshot

Turborepo Badge Next.js Badge Tailwind CSS Badge React Badge TypeScript Badge Build Status GitHub stars GitHub issues

Features

  • 📋 Copy-Paste: Copy code with a single click, it's 100% yours.
  • 🎨 Customizable: Styled with Tailwind CSS, easily customize it to fit your design.
  • 📦 Components & Blocks: Basic structure and blocks for building your own code-block UI.
  • 🖌️ Shiki & Sugar-High: Choose your syntax highlighter.
  • ⚙️ shadcn/ui compatible: Add components and utilities using shadcn/ui CLI.

Contributing

We welcome contributions to enhance the functionality, design, and documentation of this project. To contribute, please read our Contributing Guide and Code of Conduct.

Development Setup

  1. Clone the repository:
git clone [email protected]:pheralb/code-blocks.git
cd code-blocks
  1. Install dependencies:
# Install pnpm globally if you haven't already:
npm i pnpm@latest -g

# Install project dependencies:
pnpm install
  1. Start the development server:
pnpm dev

Commands

  • pnpm dev: Start the development server for the docs website.
  • pnpm website:build: Build the docs website for production.
  • pnpm website:build-cc: Build content using content-collections CLI.
  • pnpm website:build-registry: Build the component and block registry.

Contributors

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

✨ A set of UI components & utilities to show your code beautifully.

code-blocks.pheralb.dev

Topics

code-blockmdxnextjsprismjsreactshikisugar-hightypescript

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity

Stars

153 stars

Watchers

1 watching

Forks

5 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.