From 963120220a31b8d97fc9d02d265a92b0776e5491 Mon Sep 17 00:00:00 2001 From: Gleb Voitenko Date: Tue, 5 Nov 2024 17:36:37 +0300 Subject: [PATCH] wip --- src/transform/plugins/video/index.ts | 1 - src/transform/plugins/video/parsers.ts | 8 -------- 2 files changed, 9 deletions(-) diff --git a/src/transform/plugins/video/index.ts b/src/transform/plugins/video/index.ts index d3fd8bcc..5efc83b4 100644 --- a/src/transform/plugins/video/index.ts +++ b/src/transform/plugins/video/index.ts @@ -5,7 +5,6 @@ // Process @[osf](guid) // Process @[yandex](videoID) // Process @[vk](videoID) -// Process @[dzen](videoID) // Process @[rutube](videoID) import type MarkdownIt from 'markdown-it'; diff --git a/src/transform/plugins/video/parsers.ts b/src/transform/plugins/video/parsers.ts index b59af179..8392b4fe 100644 --- a/src/transform/plugins/video/parsers.ts +++ b/src/transform/plugins/video/parsers.ts @@ -51,14 +51,6 @@ export function rutubeParser(url: string) { return match ? match[1] : url; } -export function dzenParser(url: string) { - /* - dzen /embed/ and /video/watch/ are not the same - so we can't extract something from url and should pass it next - */ - return url; -} - const supportedServices = Object.entries({ osf: { extract: mfrParser,