mirror of
https://github.com/d0zingcat/BroadcastChannel.git
synced 2026-06-08 15:10:29 +00:00
feat: enhance code highlighting with flourite
Integrate flourite for improved language detection in code blocks, replacing manual detection logic. This enhances accuracy and supports a broader range of languages for syntax highlighting. Additionally, streamline CSS inclusion for code highlighting by importing directly from the package, reducing reliance on external CDN.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
---
|
||||
import '../assets/item.css'
|
||||
import 'prismjs/themes/prism.css'
|
||||
import dayjs from '../lib/dayjs'
|
||||
import { getEnv } from '../lib/env'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user