mirror of
https://github.com/harness/drone.git
synced 2025-05-10 22:21:22 +08:00
fix: [code-1321]: fix issue on webm (#970)
This commit is contained in:
parent
5869c132e6
commit
b567c5f471
@ -141,7 +141,7 @@ export function MarkdownViewer({ source, className, maxHeight, darkMode }: Markd
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
rehypePlugins={[
|
rehypePlugins={[
|
||||||
rehypeVideo,
|
[rehypeVideo, { test: /\/(.*)(.mp4|.mov|.webm|.mkv|.flv)$/, details: null }],
|
||||||
[rehypeExternalLinks, { rel: ['nofollow noreferrer noopener'], target: '_blank' }]
|
[rehypeExternalLinks, { rel: ['nofollow noreferrer noopener'], target: '_blank' }]
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user