Skip to content

Commit 45e2f0f

Browse files
authored
Update typescript-support.mdx
1 parent 45dd07b commit 45e2f0f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/typescript-support.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
22
title: TypeScript Support
3-
description: CodeHarborHub is built with Docusaurus, which is written in TypeScript and provides first-class TypeScript support.
3+
description: "CodeHarborHub is built with Docusaurus, which is written in TypeScript and provides first-class TypeScript support."
44
---
55

6+
import TOCInline from '@theme/TOCInline';
7+
68
CodeHarborHub runs on **Docusaurus**, which is written entirely in TypeScript and provides first-class TypeScript support.
79

810
The minimum recommended version is **TypeScript 5.1**.
@@ -16,7 +18,7 @@ Use the `--typescript` flag when creating the project:
1618

1719
```bash title="terminal"
1820
npx create-docusaurus@latest my-site classic --typescript
19-
````
21+
```
2022

2123
This automatically sets up `.ts` and `.tsx` support for theme components and pages.
2224

@@ -133,4 +135,4 @@ to add TypeScript support.
133135

134136
---
135137

136-
With TypeScript configured, **CodeHarborHub** gains **type safety, autocompletion, and better developer experience** across the entire documentation platform.
138+
With TypeScript configured, **CodeHarborHub** gains **type safety, autocompletion, and better developer experience** across the entire documentation platform.

0 commit comments

Comments
 (0)