diff options
Diffstat (limited to 'subprojects/docs/docusaurus.config.ts')
-rw-r--r-- | subprojects/docs/docusaurus.config.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/subprojects/docs/docusaurus.config.ts b/subprojects/docs/docusaurus.config.ts index 67ee1db4..25182f60 100644 --- a/subprojects/docs/docusaurus.config.ts +++ b/subprojects/docs/docusaurus.config.ts | |||
@@ -15,8 +15,10 @@ import { Config as SwcConfig } from '@swc/core'; | |||
15 | import { themes } from 'prism-react-renderer'; | 15 | import { themes } from 'prism-react-renderer'; |
16 | import smartypants from 'remark-smartypants'; | 16 | import smartypants from 'remark-smartypants'; |
17 | 17 | ||
18 | import remarkPosix2Windows from './src/plugins/remarkPosix2Windows'; | ||
19 | |||
18 | const markdownOptions = { | 20 | const markdownOptions = { |
19 | remarkPlugins: [[smartypants, { dashes: 'oldschool' }]], | 21 | remarkPlugins: [[smartypants, { dashes: 'oldschool' }], remarkPosix2Windows], |
20 | }; | 22 | }; |
21 | 23 | ||
22 | const docsOptions = { | 24 | const docsOptions = { |
@@ -75,6 +77,7 @@ export default { | |||
75 | respectPrefersColorScheme: true, | 77 | respectPrefersColorScheme: true, |
76 | }, | 78 | }, |
77 | prism: { | 79 | prism: { |
80 | additionalLanguages: ['bash', 'java'], | ||
78 | theme: themes.oneLight, | 81 | theme: themes.oneLight, |
79 | darkTheme: themes.oneDark, | 82 | darkTheme: themes.oneDark, |
80 | }, | 83 | }, |