Skip to content

Vue 3 CodeBlock - Highlight your code with ease using this syntax highlighting component powered by PrismJS or Highlight.js.

License

Notifications You must be signed in to change notification settings

webdevnerdstuff/vue-code-block

Folders and files

NameName
Last commit message
Last commit date

Latest commit

950e212 · Dec 12, 2024
Nov 6, 2024
Dec 10, 2023
Mar 5, 2023
Dec 12, 2024
Nov 13, 2023
Apr 16, 2023
Dec 12, 2024
Jan 5, 2024
Mar 5, 2023
Jan 11, 2024
Apr 2, 2023
Mar 13, 2024
Jan 11, 2024
Jan 11, 2024
Mar 5, 2023
Dec 12, 2024
Jul 6, 2024
Mar 16, 2023
Nov 9, 2023
Nov 6, 2024
Dec 12, 2024
Dec 12, 2024
Jan 11, 2024
Dec 12, 2024
Dec 10, 2023
Dec 10, 2023
Dec 10, 2023
Dec 10, 2023
Dec 10, 2023

Repository files navigation

Vue

Vue 3 CodeBlock

NPM Package   @WebDevNerdStuff

Description

The Vue 3 CodeBlock component leverages the power of PrismJS or Highlight.js to provide syntax highlighting for code blocks within your application. The component takes a prop, which is the code to be highlighted, and uses PrismJS or Highlight.js to render the code with syntax highlighting. The component supports a variety of programming languages and can be customized with different themes to match your application's design. With this component, your users can display their code snippets with ease and clarity, making it easier to share and collaborate on code within your application.

Installation

Using pnpm:

pnpm add @wdns/vue-code-block

Using npm:

npm i @wdns/vue-code-block

Documentation

Documentation & Demo

Dependencies

PrismJS
Highlight.js
Vue 3
UAParser.js

Change Log

CHANGELOG

License

Copyright (c) 2023 WebDevNerdStuff
Licensed under the MIT license.