Skip to content

aniketsinha2002/codeblock

Repository files navigation

Project Preview Sample (CURRENT)

alt text

Project Name

Codeblock

Introduction

This project is built using React and Vite, with additional dependencies for development and production environments. This README.md file will guide you through setting up the project locally.

Prerequisites

Make sure you have Node.js and npm (or yarn) installed on your machine.

Installation

  1. Clone the repository to your local machine:

    git clone <repository-url>
  2. Navigate to the project directory:

    cd project-directory
  3. Install dependencies:

    npm install

    or if you're using yarn:

    yarn install
  4. Install this:

    npm install rehype-pretty-code shiki

    or if you're using yarn:

    yarn install rehype-pretty-code shiki

Dependencies

Production Dependencies

  • React: "^18.2.0"
  • React DOM: "^18.2.0"
  • Rehype Pretty Code: "^0.13.1" (ADDED)
  • rehype-react: "^8.0.0" (ADDED)
  • rehype-stringify: "^10.0.0" (ADDED)
  • remark-parse: "^11.0.0" (ADDED)
  • remark-rehype: "^11.1.0" (ADDED)

Development Dependencies

  • @types/react: "^18.2.66"
  • @types/react-dom: "^18.2.22"
  • @vitejs/plugin-react: "^4.2.1"
  • ESLint: "^8.57.0"
  • ESLint Plugin React: "^7.34.1"
  • ESLint Plugin React Hooks: "^4.6.0"
  • ESLint Plugin React Refresh: "^0.4.6"
  • Vite: "^5.2.0"
  • Shiki: "^1.3.0" (ADDED)

Usage

After installing dependencies, you can start the development server using Vite:

npm run dev

or

yarn dev

This will start the development server at http://localhost:3000.

Additional Information

  • Make sure to configure ESLint according to your preferences in the .eslintrc file.
  • For further customization, refer to the Vite documentation: Vite Docs.

About

Freelance Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published