{"id":21344484,"url":"https://github.com/s00d/vue-prismjs","last_synced_at":"2025-07-27T07:39:02.816Z","repository":{"id":143509007,"uuid":"615996555","full_name":"s00d/vue-prismjs","owner":"s00d","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-19T10:49:52.000Z","size":546,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-26T02:20:27.185Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s00d.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-19T10:09:15.000Z","updated_at":"2023-03-19T10:09:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"47ff70ee-13c3-4d76-bd1b-3f4cc0337378","html_url":"https://github.com/s00d/vue-prismjs","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/s00d%2Fvue-prismjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s00d%2Fvue-prismjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s00d%2Fvue-prismjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s00d%2Fvue-prismjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s00d","download_url":"https://codeload.github.com/s00d/vue-prismjs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243819312,"owners_count":20352868,"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":[],"created_at":"2024-11-22T01:19:16.818Z","updated_at":"2025-03-16T03:21:43.654Z","avatar_url":"https://github.com/s00d.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-prismjs-next\n\n![mobile image](https://raw.githubusercontent.com/s00d/vue-prismjs/main/img/main.png)\n\nVue component for formatting code using Prism.js\n\n## Installation\n\n```\nnpm install vue-prismjs-next\n```\n\n## Usage\n\nIn your component:\n\n```vue\n\u003ctemplate\u003e\n  \u003cprismjs language=\"javascript\"\u003e\n    // your code here\n  \u003c/prismjs\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\nimport Prismjs from 'vue-prismjs-next'\n\nexport default {\n  components: {\n    Prismjs\n  }\n}\n\u003c/script\u003e\n```\n\nIn your `main.js` file:\n\n```js\nimport Prismjs from './Prismjs.vue';\n\n// ...\n\napp.component('Prismjs', Prismjs)\n// ...\n```\n\n## Props\n\n- `language` (required): The language to use for syntax highlighting. You can find a list of supported languages [here](https://prismjs.com/#supported-languages).\n- `code` (required): Code string.\n\n## Supported Vue Versions\n\n- Vue 2.x\n- Vue 3.x (using `vue-demi`)\n\n## Development\n\n### Install Dependencies\n\n```bash\nnpm install\n```\n\n### Build for Production\n\n```bash\nnpm run build\n```\n\n### Watch for Changes\n\n```bash\nnpm run watch\n```\n\n### Run Tests\n\n```bash\nnpm test\n```\n\n### Run Storybook\n\n```bash\nnpm run storybook\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs00d%2Fvue-prismjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs00d%2Fvue-prismjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs00d%2Fvue-prismjs/lists"}