feat: Dynamically load katex to improve first-screen loading speed

This commit is contained in:
Shirasawa
2025-09-17 04:18:16 +00:00
parent 9321a6ff60
commit 9b3d71f0d2
2 changed files with 16 additions and 6 deletions

View File

@@ -1,5 +1,3 @@
import katex from 'katex';
const DELIMITER_LIST = [
{ left: '$$', right: '$$', display: true },
{ left: '$', right: '$', display: false },