fix: carbon broken (#2387)

This commit is contained in:
Luffy 2024-03-26 08:19:31 +08:00 committed by GitHub
parent 9e681c6419
commit 87fd55d712
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -187,9 +187,7 @@
},
},
plugins: [
function () {
DocsifyCarbon.create('CEBI6KQE', 'docsifyjsorg');
},
DocsifyCarbon.create('CEBI6KQE', 'docsifyjsorg'),
function (hook, vm) {
hook.beforeEach(html => {
if (/githubusercontent\.com/.test(vm.route.file)) {