Skip to content

Commit 55e8937

Browse files
committed
fix: allow syntax highlighting on JSON5
1 parent 2999b7d commit 55e8937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apify-docs-theme/src/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ const themeConfig = ({
150150
defaultLanguage: 'typescript',
151151
theme: require('prism-react-renderer').themes.github,
152152
darkTheme: require('prism-react-renderer').themes.dracula,
153-
additionalLanguages: ['docker', 'log', 'php'],
153+
additionalLanguages: ['docker', 'log', 'php', 'json5'],
154154
},
155155
// this needs to be absolute link otherwise it gets resolved wrongly in project docs
156156
image: 'https://apify.com/og-image/docs-article',

0 commit comments

Comments
 (0)