Skip to content

Commit ec1e56b

Browse files
committed
feat(docusaurus): add json code styling
1 parent 8b304dd commit ec1e56b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const VERSIONS_JSON = require('./versions.json');
1919
* Note that the urls specified in this file should
2020
* NOT have a trailing slash otherwise users will
2121
* briefly get a 404 Page Not Found error before
22-
* the docuementation website loads.
22+
* the documentation website loads.
2323
*/
2424
const ARCHIVED_VERSIONS_JSON = require('./versionsArchived.json');
2525

@@ -325,7 +325,7 @@ module.exports = {
325325
theme: { plain: {}, styles: [] },
326326
// Prism provides a [default list of languages](https://github.com/FormidableLabs/prism-react-renderer/blob/e1c83a468b05df7f452b3ad7e4ae5ab874574d4e/packages/generate-prism-languages/index.ts#L9-L26).
327327
// A list of [additional languages](https://prismjs.com/#supported-languages) that are supported can be found at their website.
328-
additionalLanguages: ['shell-session', 'http', 'diff'],
328+
additionalLanguages: ['shell-session', 'http', 'diff', 'json'],
329329
},
330330
algolia: {
331331
appId: 'O9QSL985BS',

0 commit comments

Comments
 (0)