Skip to content

feat: support YouTube watch URL in iframe markdown syntax#25

Merged
wendyyuchensun merged 2 commits intocoseeing:mainfrom
wendyyuchensun:youtube
Mar 24, 2026
Merged

feat: support YouTube watch URL in iframe markdown syntax#25
wendyyuchensun merged 2 commits intocoseeing:mainfrom
wendyyuchensun:youtube

Conversation

@wendyyuchensun
Copy link
Copy Markdown
Collaborator

@wendyyuchensun wendyyuchensun commented Mar 17, 2026

Summary

  • Extend the iframe extension to recognise https://www.youtube.com/watch?v=<id> as a YouTube source, in addition to the existing embed URL pattern.
  • Automatically normalise watch URLs to the embed form (/embed/<id>).

@wendyyuchensun wendyyuchensun marked this pull request as ready for review March 17, 2026 10:54
@wendyyuchensun wendyyuchensun changed the title feat: support YouTube watch URLs in iframe markdown syntax feat: support YouTube watch URL in iframe markdown syntax Mar 22, 2026
Copy link
Copy Markdown
Contributor

@jamliaoo jamliaoo left a comment

Choose a reason for hiding this comment

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

LGTM

@wendyyuchensun
Copy link
Copy Markdown
Collaborator Author

Thanks

@wendyyuchensun wendyyuchensun merged commit 2fd4d18 into coseeing:main Mar 24, 2026
1 check passed
@wendyyuchensun wendyyuchensun deleted the youtube branch March 24, 2026 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants