Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
FranciscoMoretti committed Oct 19, 2024
1 parent 2d52e76 commit e9697bd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/gentle-planets-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"notion-downloader": patch
---

Update plugin name
2 changes: 1 addition & 1 deletion apps/www/content/docs/guide/nextra.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ npm install notion-downloader
"assets": "flat"
},
"plugins": [
"video",
"standardVideoTransformer",
],
...
}
Expand Down
4 changes: 2 additions & 2 deletions apps/www/content/docs/guide/video.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ Notion Downloader supports video playback through the `react-player` package. Th

## Usage

Add the `video` plugin to your downloader config:
Add the `standardVideoTransformer` plugin to your downloader config:

```json
{
"conversion": {
"plugins": [
"video"
"standardVideoTransformer"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/notion-downloader/src/plugins/VideoTransformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { NotionBlock } from "../types"
import { IPlugin, IPluginContext } from "./pluginTypes"

export const standardVideoTransformer: IPlugin = {
name: "video",
name: "standardVideoTransformer",
notionToMarkdownTransforms: [
{
type: "video",
Expand Down

0 comments on commit e9697bd

Please sign in to comment.