react-notion-x
react-notion-x copied to clipboard
Fast and accurate React renderer for Notion. TS batteries included. ⚡️
#441 Add spaceId to src for files(audio, file, video...)
There are dependencies of dependencies requiring old versions of node-gyp which are incompatible with Python >= 3.11. Since I wasted too much time on this I'm putting this here in...
If I don't want my notion page to be shared, but I still want to get it. in the current version, i can use authToken in the request cookie, but...
#### Description Prettier `plugins` was missing in `.prettierrc`. The symthom was a lot of "unkwnon" configurations from `"@trivago/prettier-plugin-sort-imports"`. Adding it to `.prettierrc` fixed the issue.
### Description Replaced `Lerna` and `Yarn` with `Turbo` and `Pnpm`. Changes: - More `tsup` and less `tsc` - `tsup` is the recommended tool in [`turbo` docs](https://turbo.build/repo/docs/handbook/publishing-packages/bundling) - `tsup --watch` replaces...
#### Description Just wondering if there is any interest in moving from `yarn` + `lerna` to `pnpm` + `turbo`. I've migrated this for myself on a local build and I'm...
#### Description Can you please add the support for overriding `Quote` block? Currently, only the following overrides seems to supported: ```ts export interface NotionComponents { Image: any; Link: any; PageLink:...
We're seeing images from Notion that fail to render now, the URLs appear to be different than before: https://file.notion.so/f/s/639a46c8-f62a-4638-8463-0cb8144ee1cb/9f2bffd87f4297a871ac022c3df0d07401e4cec6.png?table=block&id=27787f69-03bf-4f83-942b-d63395636b6e&expirationTimestamp=1678548083705&signature=DYW03sqhk-YwePm19FCHOIVRnQEZFu8k5rAD2D4Z_P0
#### Description Only NotionAPI has the `search` method. However, the `notion` variable can also be of type `NotionCompatAPI`. This PR introduces better handling for that error and it also makes...
#### Description Headings in synced blocks are not shown in the TOC block with the current version of notion-utils (v6.16.0). This PR fixes the issue. | Notion | react-notion-x |...