akiran / akiran/react-highlight

highlight.js v10.7+ has deprecated 'highlightBlock', we need to use 'highlightElement'

未关闭
#82 6 条评论 5 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
761
派生
82
PR 合并指标
30 天内没有已合并 PR

描述

Hi there 👋

highlight.js v10.7 includes [some deprecations](https://github.com/highlightjs/highlight.js/blob/main/CHANGES.md#version-1070) and I noticed this in my website's console (browser dev tools):

```js
Deprecated as of 10.7.0. highlightBlock will be removed entirely in v12.0
rollbar.min.js:1 Deprecated as of 10.7.0. Please use highlightElement now.
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。