{"id":18718516,"url":"https://github.com/highlightjs/highlightjs-vue","last_synced_at":"2025-04-12T14:02:22.491Z","repository":{"id":36216561,"uuid":"205660541","full_name":"highlightjs/highlightjs-vue","owner":"highlightjs","description":"highlight.js syntax definition for Vue.js","archived":false,"fork":false,"pushed_at":"2022-02-07T12:21:17.000Z","size":37,"stargazers_count":14,"open_issues_count":4,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-25T17:04:08.010Z","etag":null,"topics":["highlightjs","syntax-highlighting","vue"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/highlightjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-01T10:23:04.000Z","updated_at":"2023-08-29T08:06:37.000Z","dependencies_parsed_at":"2022-08-08T13:46:08.998Z","dependency_job_id":null,"html_url":"https://github.com/highlightjs/highlightjs-vue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-vue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-vue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-vue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-vue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/highlightjs","download_url":"https://codeload.github.com/highlightjs/highlightjs-vue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248578537,"owners_count":21127712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["highlightjs","syntax-highlighting","vue"],"created_at":"2024-11-07T13:21:42.231Z","updated_at":"2025-04-12T14:02:22.458Z","avatar_url":"https://github.com/highlightjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"`highlight.js` syntax definition for Vue.\r\n\r\nSupport for single-file [Vue.js](https://vuejs.org/) components.\r\nThe files with `.vue` extension allow to write html, javascript/typescript and styles in the same file.\r\n\r\n### Usage\r\n\r\nSimply include the `highlight.js` script package in your webpage or node app, load up this module and apply it to `hljs`.\r\n\r\nIf you're not using a build system and just want to embed this in your webpage:\r\n\r\n```html\r\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/highlightjs\"\u003e\u003c/script\u003e\r\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/highlightjs-vue\"\u003e\u003c/script\u003e\r\n\u003cscript\u003e\r\n  hljs.registerLanguage(\"vue\", window.hljsDefineVue);\r\n  hljs.initHighlightingOnLoad();\r\n\u003c/script\u003e\r\n```\r\n\r\nIf you're using webpack / rollup / browserify / node:\r\n\r\n```javascript\r\nvar hljs = require(\"highlightjs\");\r\nvar hljsDefineVue = require(\"highlightjs-vue\");\r\n\r\nhljsDefineVue(hljs);\r\nhljs.initHighlightingOnLoad();\r\n```\r\n\r\n### License\r\n\r\n![GitHub](https://img.shields.io/github/license/highlightjs/highlightjs-vue?logo=License%20BSD-3-Clause)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighlightjs%2Fhighlightjs-vue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhighlightjs%2Fhighlightjs-vue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighlightjs%2Fhighlightjs-vue/lists"}