Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
v8tenko committed Nov 5, 2024
1 parent 08d96b7 commit 9631202
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/transform/plugins/video/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
8 changes: 0 additions & 8 deletions src/transform/plugins/video/parsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,6 @@ export function rutubeParser(url: string) {
return match ? match[1] : url;
}

export function dzenParser(url: string) {
/*
dzen /embed/<id> and /video/watch/<id> 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,
Expand Down

0 comments on commit 9631202

Please sign in to comment.