Skip to content

Commit 33f10c7

Browse files
authored
feat: import highlight core only (#455)
1 parent 8a6720d commit 33f10c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/markdownRender/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22

33
import showdown from 'showdown';
4-
import hljs from 'highlight.js';
4+
import hljs from 'highlight.js/lib/core';
55
import sql from 'highlight.js/lib/languages/sql';
66
import classNames from 'classnames';
77

0 commit comments

Comments
 (0)