Skip to content

Commit c81d342

Browse files
committed
docs: add jsx
1 parent 9e489d7 commit c81d342

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

packages/h5p-react/typedoc.config.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ const config = {
77
},
88
externalPattern: [
99
"**/node_modules/**", "**/packages/!(h5p-react)/**"
10-
],
11-
highlightLanguages: ["jsx", "javascript", "shellscript", "typescript"],
10+
],
1211
};
1312

1413
export default config;

typedoc.config.mjs

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,22 @@ const config = {
3333
plugin: ["typedoc-plugin-missing-exports", "typedoc-plugin-rename-defaults"],
3434
packageOptions: {
3535
excludeExternals: true,
36-
}
36+
},
37+
highlightLanguages: [
38+
// start default languages
39+
"bash",
40+
"console",
41+
"css",
42+
"html",
43+
"javascript",
44+
"json",
45+
"jsonc",
46+
"json5",
47+
"tsx",
48+
"typescript",
49+
// end default languages
50+
"jsx" // jsx is the only additional language that we need
51+
],
3752
};
3853

3954
export default config;

0 commit comments

Comments
 (0)