{"id":28459694,"url":"https://github.com/valor-software/prismjs-loader","last_synced_at":"2025-07-02T12:32:18.603Z","repository":{"id":46613191,"uuid":"41793959","full_name":"valor-software/prismjs-loader","owner":"valor-software","description":"prismjs-loader for webpack, http://prismjs.com/","archived":false,"fork":false,"pushed_at":"2020-08-07T22:31:27.000Z","size":7,"stargazers_count":11,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-17T11:02:06.598Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/valor-software.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-09-02T09:59:16.000Z","updated_at":"2019-09-24T15:12:03.000Z","dependencies_parsed_at":"2022-07-22T19:02:57.218Z","dependency_job_id":null,"html_url":"https://github.com/valor-software/prismjs-loader","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/valor-software/prismjs-loader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valor-software%2Fprismjs-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valor-software%2Fprismjs-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valor-software%2Fprismjs-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valor-software%2Fprismjs-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valor-software","download_url":"https://codeload.github.com/valor-software/prismjs-loader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valor-software%2Fprismjs-loader/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262419747,"owners_count":23308098,"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":"2025-06-07T01:05:52.529Z","updated_at":"2025-07-02T12:32:18.581Z","avatar_url":"https://github.com/valor-software.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prismjs-loader for webpack\nprismjs-loader for webpack, [http://prismjs.com/](http://prismjs.com/)\n\n# Installation\n\n```bash\nnpm install -D prismjs-loader\n```\n\n# Usage\n\nDon't forget to provide file type via query, so loader can choose correct component to use.\nList of components to use: [link](https://github.com/PrismJS/prism/tree/gh-pages/components)\nIf component called `prism-apacheconf.js` you need to provide `apacheconf` via query.\n\nOn ui you need to add ref to stylesheet with prism theme,\ndemo of themes [here](http://prismjs.com/),\nlist of stylesheets [here](https://github.com/PrismJS/prism/tree/gh-pages/themes)\n\n*Note*: don't use this loader in configuration, most probably you don't need it there\n\n*Important*: use `!!` in require, to disable all other file loaders from webpack configuration\n```js\nvar fileContent = require('!!prismjs?lang=markdown!./template.html');\n// =\u003e returns highlighted html content\n\nvar fileContent = require('!!prismjs?lang=javascript!./index.js');\n// =\u003e returns highlighted javascript content\n\n```\n\n# Contribution and Feature requests\n\nIf you need support of plugins welcome to create an issue or pull request,\ncurrently plugins are not supported\n\n# License\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalor-software%2Fprismjs-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalor-software%2Fprismjs-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalor-software%2Fprismjs-loader/lists"}