Skip to content

Commit

Permalink
Add custom monokai theme to highlight punctuation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainan committed Oct 21, 2024
1 parent f448e73 commit 89f85e6
Show file tree
Hide file tree
Showing 2 changed files with 452 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const config = {
[
'docusaurus-preset-shiki-twoslash',
{
theme: 'monokai',
theme: 'monokai-patched',
langs: [
'cpp',
{
Expand All @@ -55,6 +55,9 @@ const config = {
path: require.resolve('./src/theme/Pluto.tmLanguage.json'),
}
],
themes: [
require('./src/theme/monokai-patched.json'),
],
}
],
],
Expand Down
Loading

0 comments on commit 89f85e6

Please sign in to comment.