Skip to content

Commit

Permalink
fix: 更新 highlight SDK 文件 (#242)
Browse files Browse the repository at this point in the history
Co-authored-by: linxin <xin.lin@longbridge.sg>
  • Loading branch information
ylinwind and linxin authored Jan 16, 2024
1 parent ecae60c commit 9194b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/highlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const loadScript = (src) => {
let highlightIsLoaded = false
export const loadHighlight = async () => {
if (!highlightIsLoaded) {
await loadScript('https://assets.lbkrs.com/uploads/4071868f-e64d-4dc9-ab10-8a3c398391fe/highlight.js')
await loadScript('https://assets.lbkrs.com/uploads/4a9226b9-d604-438f-a485-ef62d34bc4d3/highlight.js')
}
highlightIsLoaded = true
const xHighlights = document.querySelectorAll('.doc-highlight')
Expand Down

0 comments on commit 9194b3d

Please sign in to comment.