Skip to content

Commit

Permalink
fix: incorrect file name leading to syntax highlighting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
shafiqihtsham committed Jul 25, 2024
1 parent 8017886 commit e860b11
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/css/dark-custom-prism-theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { PrismTheme } from 'prism-react-renderer';

// To see changes in development restart docusaurus

const theme: PrismTheme = {
const darkTheme: PrismTheme = {
plain: {
color: '#F8F8F2',
backgroundColor: '#282A36',
Expand Down Expand Up @@ -70,4 +70,4 @@ const theme: PrismTheme = {
},
],
};
export default theme;
export default darkTheme;
2 changes: 1 addition & 1 deletion src/prism/custom-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Prism.languages.pkcli = {
greedy: true,
},
keyword:
/\b(?:vaults|create|list|delete|log|rename|list|-h|secrets|get|update|stat)\b/,
/\b(?:vaults|create|list|delete|log|rename|list|-h|secrets|get|update|agent|start|status|stop|identities|authenticate|stat)\b/,
command: {
pattern: /(^\s*|\s+)(polykey)(?=\s|$)/,
lookbehind: true,
Expand Down
File renamed without changes.

0 comments on commit e860b11

Please sign in to comment.