Skip to content

Commit 245844b

Browse files
😊
1 parent 4112634 commit 245844b

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

readme.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,22 @@
1010

1111
## Contents
1212

13-
- [Advice](#advice)
14-
- [Features](#features)
15-
- [Usage](#usage)
16-
- [Styles](#styles)
17-
- [Optional Components](#optional-components)
18-
- [Private Pages](#private-pages)
19-
- [Next.js Examples](#nextjs-examples)
20-
- [Packages](#packages)
21-
- [Supported Blocks](#supported-blocks)
22-
- [Performance](#performance)
23-
- [Related](#related)
24-
- [Contributing](#contributing)
25-
- [License](#license)
26-
- [Sponsor](#sponsor)
13+
- [React Notion X](#react-notion-x)
14+
- [Contents](#contents)
15+
- [Advice](#advice)
16+
- [Features](#features)
17+
- [Usage](#usage)
18+
- [Styles](#styles)
19+
- [Optional Components](#optional-components)
20+
- [Private Pages](#private-pages)
21+
- [Next.js Examples](#nextjs-examples)
22+
- [Packages](#packages)
23+
- [Supported Blocks](#supported-blocks)
24+
- [Performance](#performance)
25+
- [Related](#related)
26+
- [Contributing](#contributing)
27+
- [License](#license)
28+
- [Sponsor](#sponsor)
2729

2830
## Advice
2931

@@ -147,7 +149,7 @@ export default ({ recordMap }) => (
147149
)
148150
```
149151

150-
The `Code` component uses [Prism]() under the hood. It comes bundled with support for JavaScript, TypeScript, and CSS by default. To add support for additional language syntaxes, follow the example in [`components/NotionPage.tsx`](./examples/full/components/NotionPage.tsx) which lazily loads Prism components at runtime.
152+
The `Code` component uses [Prism](https://prismjs.com) under the hood. It comes bundled with support for JavaScript, TypeScript, and CSS by default. To add support for additional language syntaxes, follow the example in [`components/NotionPage.tsx`](./examples/full/components/NotionPage.tsx) which lazily loads Prism components at runtime. You will likely want to add `prismjs` to your project as a dependency when using the `Code` component so TypeScript doesn't complain.
151153

152154
For `Equation` support, you'll need to import the katex CSS styles.
153155

0 commit comments

Comments
 (0)