Skip to content

Commit 89f85e6

Browse files
committed
Add custom monokai theme to highlight punctuation
1 parent f448e73 commit 89f85e6

File tree

2 files changed

+452
-1
lines changed

2 files changed

+452
-1
lines changed

docusaurus.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const config = {
4545
[
4646
'docusaurus-preset-shiki-twoslash',
4747
{
48-
theme: 'monokai',
48+
theme: 'monokai-patched',
4949
langs: [
5050
'cpp',
5151
{
@@ -55,6 +55,9 @@ const config = {
5555
path: require.resolve('./src/theme/Pluto.tmLanguage.json'),
5656
}
5757
],
58+
themes: [
59+
require('./src/theme/monokai-patched.json'),
60+
],
5861
}
5962
],
6063
],

0 commit comments

Comments
 (0)