We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 498ef22 commit a38e006Copy full SHA for a38e006
packages/shared/src/index.ts
@@ -8,7 +8,6 @@ export {
8
addLeadingSlash,
9
addTrailingSlash,
10
cleanUrl,
11
- DEFAULT_HIGHLIGHT_LANGUAGES,
12
HASH_REGEXP,
13
inBrowser,
14
isDataUrl,
packages/shared/src/runtime-utils/utils.ts
@@ -5,15 +5,6 @@ export const APPEARANCE_KEY = 'rspress-theme-appearance';
5
export const SEARCH_INDEX_NAME = 'search_index';
6
export const RSPRESS_TEMP_DIR = '.rspress';
7
-export const DEFAULT_HIGHLIGHT_LANGUAGES = [
- ['js', 'javascript'],
- ['ts', 'typescript'],
- ['jsx', 'tsx'],
- ['xml', 'xml-doc'],
- ['md', 'markdown'],
- ['mdx', 'tsx'],
15
-];
16
-
17
// TODO: these utils should be divided into node and runtime
18
export const isProduction = () => process.env.NODE_ENV === 'production';
19
0 commit comments