[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-3413":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},3413,"prism","PrismJS\u002Fprism","PrismJS","Lightweight, robust, elegant syntax highlighting.","https:\u002F\u002Fprismjs.com",null,"JavaScript",12996,1376,118,384,0,1,4,29,3,76.32,"MIT License",false,"v2",[],"2026-06-12 04:00:17","# [Prism](https:\u002F\u002Fprismjs.com\u002F)\n\n[![Build Status](https:\u002F\u002Fgithub.com\u002FPrismJS\u002Fprism\u002Fworkflows\u002FCI\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002FPrismJS\u002Fprism\u002Factions)\n[![npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fdw\u002Fprismjs.svg)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fprismjs)\n\nPrism is a lightweight, robust, and elegant syntax highlighting library. It's a spin-off project from [Dabblet](https:\u002F\u002Fdabblet.com\u002F).\n\nYou can learn more on [prismjs.com](https:\u002F\u002Fprismjs.com\u002F).\n\n[Why another syntax highlighter?](https:\u002F\u002Flea.verou.me\u002F2012\u002F07\u002Fintroducing-prism-an-awesome-new-syntax-highlighter\u002F#more-1841)\n\n[More themes for Prism!](https:\u002F\u002Fgithub.com\u002FPrismJS\u002Fprism-themes)\n\n## Contribute to Prism!\n\n### **Important Notice**\n\nWe are currently working on [Prism v2](https:\u002F\u002Fgithub.com\u002FPrismJS\u002Fprism\u002Fdiscussions\u002F3531) and will only accept security-relevant PRs for the time being.\n\nOnce work on Prism v2 is sufficiently advanced, we will accept PRs again. This will be announced on our [Discussion](https:\u002F\u002Fgithub.com\u002FPrismJS\u002Fprism\u002Fdiscussions) page and mentioned in the [roadmap discussion](https:\u002F\u002Fgithub.com\u002FPrismJS\u002Fprism\u002Fdiscussions\u002F3531).\n\n\u003Cdetails>\n\u003Csummary>Prism v1 contributing notes\u003C\u002Fsummary>\n\nPrism depends on community contributions to expand and cover a wider array of use cases. If you like it, consider giving back by sending a pull request. Here are a few tips:\n\n- Read the [documentation](https:\u002F\u002Fprismjs.com\u002Fextending.html). Prism was designed to be extensible.\n- Do not edit `prism.js`, it’s just the version of Prism used by the Prism website and is built automatically. Limit your changes to the unminified files in the `components\u002F` folder. `prism.js` and all minified files are generated by our build system (see below).\n- Use `npm ci` to install Prism's dependencies. Do not use `npm install` because it will cause non-deterministic builds.\n- The build system uses [gulp](https:\u002F\u002Fgithub.com\u002Fgulpjs\u002Fgulp) to minify the files and build `prism.js`. With all of Prism's dependencies installed, you just need to run the command `npm run build`.\n- Please follow the code conventions used in the files already. For example, I use [tabs for indentation and spaces for alignment](http:\u002F\u002Flea.verou.me\u002F2012\u002F01\u002Fwhy-tabs-are-clearly-superior\u002F). Opening braces are on the same line, closing braces on their own line regardless of construct. There is a space before the opening brace. etc etc.\n- Please try to err towards more smaller PRs rather than a few huge PRs. If a PR includes changes that I want to merge and also changes that I don't, handling it becomes difficult.\n- My time is very limited these days, so it might take a long time to review bigger PRs (small ones are usually merged very quickly), especially those modifying the Prism Core. This doesn't mean your PR is rejected.\n- If you contribute a new language definition, you will be responsible for handling bug reports about that language definition.\n- If you [add a new language definition](https:\u002F\u002Fprismjs.com\u002Fextending.html#creating-a-new-language-definition) or plugin, you need to add it to `components.json` as well and rebuild Prism by running `npm run build`, so that it becomes available to the download build page. For new languages, please also add a few [tests](https:\u002F\u002Fprismjs.com\u002Ftest-suite.html) and an example in the `examples\u002F` folder.\n- Go to [prism-themes](https:\u002F\u002Fgithub.com\u002FPrismJS\u002Fprism-themes) if you want to add a new theme.\n\nThank you so much for contributing!!\n\n### Software requirements\n\nPrism will run on [almost any browser](https:\u002F\u002Fprismjs.com\u002F#features-full) and Node.js version but you need the following software to contribute:\n\n- Node.js >= 10.x\n- npm >= 6.x\n\n\u003C\u002Fdetails>\n\n## Translations\n\n- [简体中文](https:\u002F\u002Fwww.awesomes.cn\u002Frepo\u002FPrismJS\u002Fprism) (if unavailable, see [here](https:\u002F\u002Fdeepmind.t-salon.cc\u002Farticle\u002F113))\n","Prism 是一个轻量级、健壮且优雅的语法高亮库。它支持多种编程语言，并且易于扩展，用户可以通过简单的配置来添加新的语言定义或自定义主题样式。Prism 采用 JavaScript 编写，具有良好的浏览器兼容性，能够自动检测并应用正确的语法高亮规则。此外，该项目还提供了丰富的插件生态系统，以满足更复杂的应用需求。适用于需要在网页上展示代码片段的各种场景，如技术博客、在线文档、代码编辑器等。",2,"2026-06-11 02:54:06","top_language"]