Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
FranciscoMoretti committed Oct 14, 2024
1 parent f99d269 commit 61787fb
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/www/content/docs/guide/nextra.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ npm install notion-downloader
"layoutStrategy": {
"markdown": "hierarchical",
"assets": "flat"
}
},
"plugins": [
"video",
],
...
}
...
Expand Down
13 changes: 13 additions & 0 deletions apps/www/content/docs/guide/video.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@ Notion Downloader supports video playback through the `react-player` package. Th

## Usage

Add the `video` plugin to your downloader config:

```json
{
"conversion": {
"plugins": [
"video"
]
}
}
```


To use video playback in your Notion-exported content, simply include the `ReactPlayer` component from `react-player`:

```jsx
Expand Down

0 comments on commit 61787fb

Please sign in to comment.