{"library":"vue-highlight-component","type":"library","category":null,"description":"Vue Highlight Component is an older Vue 2 component designed to integrate code highlighting into Vue applications using the `highlight.js` library. It specifically targets `highlight.js` v9.x, which is now several major versions behind the current stable `highlight.js` (v11+). This package provides a simple wrapper component, `<highlight>`, allowing developers to display syntax-highlighted code blocks within their Vue templates, either by passing the code as slot content or via a `code` prop. Due to its age and lack of recent updates, it is largely superseded by more actively maintained and official solutions like `@highlightjs/vue-plugin`, which supports both Vue 2 and Vue 3 and integrates with modern `highlight.js` versions. There is no active release cadence, and it is primarily useful for legacy projects still on Vue 2 and an older `highlight.js` version.","language":"javascript","status":"abandoned","version":"1.0.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-highlight-component","imports":["import Highlight from 'vue-highlight-component'","import hljs from 'highlight.js'","import 'highlight.js/styles/default.css'"]},{"cmd":"yarn add vue-highlight-component","imports":[]},{"cmd":"pnpm add vue-highlight-component","imports":[]}],"homepage":null,"github":"https://github.com/egoist/vue-highlight-component","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-highlight-component","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-highlight-component/compatibility"}}