You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any reason you decided to go with the prefix `youtube: and use backticks to denote a youtube video? One approach you could do is if the video link matches a RegExp pattern and it's in its own paragraph you can just assume that we want to embed the video.
I am doing something similar for Twitter & CodeSandbox. If you're open to a pull request I could update this to work in a similar fashion. If not that is ok as well, I can just create a new plugin.
The text was updated successfully, but these errors were encountered:
Is there any reason you decided to go with the prefix `youtube: and use backticks to denote a youtube video? One approach you could do is if the video link matches a RegExp pattern and it's in its own paragraph you can just assume that we want to embed the video.
I am doing something similar for Twitter & CodeSandbox. If you're open to a pull request I could update this to work in a similar fashion. If not that is ok as well, I can just create a new plugin.
The text was updated successfully, but these errors were encountered: