allow configuration of hightlight.js, fix video-player shortcode

This commit is contained in:
Aaron Qian 2022-11-13 21:59:37 -08:00 committed by Aaron Qian
parent fcb640727f
commit b0f5b0b059
No known key found for this signature in database
GPG key ID: BF1A987C395B5B0E
2 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,4 @@
import hljs from 'highlight.js';
import * as params from '@params';
hljs.highlightAll();
hljs.highlightAll(params.syntaxhighlight?.hljs);