diff --git a/.changeset/gentle-planets-perform.md b/.changeset/gentle-planets-perform.md new file mode 100644 index 0000000..b15ef26 --- /dev/null +++ b/.changeset/gentle-planets-perform.md @@ -0,0 +1,5 @@ +--- +"notion-downloader": patch +--- + +Update plugin name diff --git a/apps/www/content/docs/guide/nextra.mdx b/apps/www/content/docs/guide/nextra.mdx index 923330a..9a66310 100644 --- a/apps/www/content/docs/guide/nextra.mdx +++ b/apps/www/content/docs/guide/nextra.mdx @@ -52,7 +52,7 @@ npm install notion-downloader "assets": "flat" }, "plugins": [ - "video", + "standardVideoTransformer", ], ... } diff --git a/apps/www/content/docs/guide/video.mdx b/apps/www/content/docs/guide/video.mdx index 7778068..e45f373 100644 --- a/apps/www/content/docs/guide/video.mdx +++ b/apps/www/content/docs/guide/video.mdx @@ -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" ] } } diff --git a/packages/notion-downloader/src/plugins/VideoTransformer.ts b/packages/notion-downloader/src/plugins/VideoTransformer.ts index 60cc944..e19b5de 100644 --- a/packages/notion-downloader/src/plugins/VideoTransformer.ts +++ b/packages/notion-downloader/src/plugins/VideoTransformer.ts @@ -5,7 +5,7 @@ import { NotionBlock } from "../types" import { IPlugin, IPluginContext } from "./pluginTypes" export const standardVideoTransformer: IPlugin = { - name: "video", + name: "standardVideoTransformer", notionToMarkdownTransforms: [ { type: "video",