Skip to content

Commit

Permalink
feat: support convert embed src link
Browse files Browse the repository at this point in the history
  • Loading branch information
purocean committed Jan 19, 2024
1 parent 9317ded commit 1e1822e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/plugins/markdown-link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function handleLink (link: HTMLAnchorElement): boolean {
}

function convertLink (state: StateCore) {
const tags = ['audio', 'img', 'source', 'video', 'track', 'a', 'iframe']
const tags = ['audio', 'img', 'source', 'video', 'track', 'a', 'iframe', 'embed']

const { repo, path, name } = state.env.file || {}
if (!repo || !path || !name) {
Expand Down

1 comment on commit 1e1822e

@vercel
Copy link

@vercel vercel bot commented on 1e1822e Jan 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.