Skip to content

Commit 53a4b4e

Browse files
committed
Add custom syntax highlighting for python
1 parent 9cfed05 commit 53a4b4e

File tree

5 files changed

+548
-24
lines changed

5 files changed

+548
-24
lines changed

src/components/Code/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { useClickOutside } from '@/hooks/useClickOutside'
55

66
import hljs from 'highlight.js/lib/core'
77
import javascript from 'highlight.js/lib/languages/javascript'
8-
import python from 'highlight.js/lib/languages/python'
8+
import python from './python'
99
import clsx from '@utils/clsx'
1010

1111

0 commit comments

Comments
 (0)