npm

@mantine/code-highlight

Code highlight with Mantine theme

版本 2已同步 2文件 73 SRI 已生成
接入决策台 · 安全可信状态

先确认可用入口,再复制固定版本地址

入口文件、安全评分、扫描覆盖和风险项已合并到首屏,适合上线前快速判断能不能直接接入。

建议复核
安全分
39
最近扫描 2026-06-16
扫描覆盖
49%
36 / 73 文件
高危文件
0
0 条 critical
待复核
6
外联、混淆、敏感行为
推荐入口
暂无浏览器入口
SRI 待确认
SRI 缺失 0
当前版本 9.3.2
36 文件
35 JS / 1 CSS / 0 WASM
6 review files
可在下方文件列表中查看原始构建产物
当前版本 36 个文件,2 个入口候选。未发现可疑外联域名。
使用路径
01确认版本

固定到 9.3.2,避免线上被隐式升级。

02复制地址

优先使用推荐入口,特殊场景再切换文件。

03检测可用

发布前检测 HTTP、CORS、SRI 和响应速度。

查看全部文件

快速接入

已按当前文件列表自动选择一个更适合浏览器接入的入口文件。完整用法可在下方生成器中切换文件。

暂无可直接接入的浏览器入口文件,可在文件列表中查看原始构建产物。
2版本
73文件
9.3.2最新

CDN 地址生成器

选择文件后直接复制 URL、Script、Module、CSS 或 WASM 示例。建议复制前先检测一次文件可用性。

文件类型
JS
文件大小
1.7 KB
SRI
已生成
CDN URL
适合放到构建配置、动态加载或手动拼接标签。
https://cdn.ptab.cn/cdn/mantine__code-highlight/9.3.2/cjs/index.cjs
普通 Script
适合传统 HTML 页面和 UMD/global 构建。
<script src="https://cdn.ptab.cn/cdn/mantine__code-highlight/9.3.2/cjs/index.cjs" integrity="sha256-mtMFInHQgl8fSjEFjLTkyZFOeAms65LcSfDiWR0b+ds=" crossorigin="anonymous"></script>
ES Module
适合浏览器原生 module 文件,使用前建议确认该文件支持 ESM。
<script type="module">
  import * as lib from "https://cdn.ptab.cn/cdn/mantine__code-highlight/9.3.2/cjs/index.cjs";
  console.log("module loaded", lib);
</script>

版本与文件

当前版本 9.3.2,展示 36 / 36 个文件。
@mantine/code-highlight/9.3.2/cjs/index.cjs
JS
1.7 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/esm/index.mjs
JS
1.0 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/cjs/_virtual/_rolldown/runtime.cjs
JS
1022 B
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/cjs/CodeHighlight.module.cjs
JS
690 B
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/cjs/CodeHighlight/CodeHighlight.cjs
JS
6.0 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/cjs/CodeHighlight/CodeHighlight.context.cjs
JS
466 B
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/cjs/CodeHighlight/CodeHighlightControl/CodeHighlightControl.cjs
JS
1.4 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/cjs/CodeHighlight/CopyCodeButton/CopyCodeButton.cjs
JS
1.1 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/cjs/CodeHighlight/CopyCodeButton/CopyIcon.cjs
JS
1.4 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/cjs/CodeHighlight/ExpandCodeButton/ExpandCodeButton.cjs
JS
999 B
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/cjs/CodeHighlight/ExpandCodeButton/ExpandIcon.cjs
JS
1.8 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/cjs/CodeHighlight/InlineCodeHighlight.cjs
JS
1.6 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/cjs/CodeHighlightProvider/adapters/highlight-js-adapter.cjs
JS
568 B
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/cjs/CodeHighlightProvider/adapters/plain-text-adapter.cjs
JS
324 B
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/cjs/CodeHighlightProvider/adapters/shiki-adapter.cjs
JS
1.4 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/cjs/CodeHighlightProvider/adapters/shiki-themes.cjs
JS
29.0 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/cjs/CodeHighlightProvider/CodeHighlightProvider.cjs
JS
1.2 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/cjs/CodeHighlightTabs/CodeHighlightTabs.cjs
JS
3.7 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/cjs/CodeHighlightTabs/FileIcon.cjs
JS
591 B
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/esm/CodeHighlight.module.mjs
JS
694 B
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/esm/CodeHighlight/CodeHighlight.context.mjs
JS
425 B
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/esm/CodeHighlight/CodeHighlight.mjs
JS
5.3 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/esm/CodeHighlight/CodeHighlightControl/CodeHighlightControl.mjs
JS
1.2 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/esm/CodeHighlight/CopyCodeButton/CopyCodeButton.mjs
JS
925 B
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/esm/CodeHighlight/CopyCodeButton/CopyIcon.mjs
JS
1.1 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/esm/CodeHighlight/ExpandCodeButton/ExpandCodeButton.mjs
JS
858 B
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/esm/CodeHighlight/ExpandCodeButton/ExpandIcon.mjs
JS
1.4 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/esm/CodeHighlight/InlineCodeHighlight.mjs
JS
1.5 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/esm/CodeHighlightProvider/adapters/highlight-js-adapter.mjs
JS
544 B
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/esm/CodeHighlightProvider/adapters/plain-text-adapter.mjs
JS
308 B
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/esm/CodeHighlightProvider/adapters/shiki-adapter.mjs
JS
1.3 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/esm/CodeHighlightProvider/adapters/shiki-themes.mjs
JS
29.0 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/esm/CodeHighlightProvider/CodeHighlightProvider.mjs
JS
1.0 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/esm/CodeHighlightTabs/CodeHighlightTabs.mjs
JS
3.3 KB
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/esm/CodeHighlightTabs/FileIcon.mjs
JS
524 B
SRI ready
未分级
0 请求
@mantine/code-highlight/9.3.2/styles.css
CSS
8.5 KB
SRI ready
未分级
0 请求

库评论

还没有评论。可以反馈这个库的接入体验、版本建议或兼容性问题。
发表评论

免登录提交。需要填写昵称和邮箱,并完成 TAC 行为验证;内容会自动审核,违规内容不会发布。