feat: add instructions to block update for qqmusic mac 8.8.0

This commit is contained in:
鲁树人
2025-09-05 22:15:15 +09:00
parent b986a2ef99
commit c68195eb9a
5 changed files with 32 additions and 5 deletions
+10
View File
@@ -0,0 +1,10 @@
import { Light as SyntaxHighlighter, type SyntaxHighlighterProps } from 'react-syntax-highlighter';
import hljsStyleGitHub from 'react-syntax-highlighter/dist/esm/styles/hljs/github';
export function CodeHighlight({ children, ...props }: SyntaxHighlighterProps) {
return (
<SyntaxHighlighter style={hljsStyleGitHub} {...props}>
{children}
</SyntaxHighlighter>
);
}