Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Youtube embed for markdown

License

NotificationsYou must be signed in to change notification settings

Harry260/youtube-md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube MD

A simple tool to embed youtube video to your markdown!



Open Web App

Changes

  1. FixedIssue#1 :"the alert box that says copied to clipboard remains persistent even on pressing OK."
  2. Error image will show up if link or id is invalid

Table Of Contents

Example

Embeding Youtube videos to markdown is impossible. But, you can use this tool to embed youtube video "thumbnail" with all elements which look like real embed. Example below:

[![Me at the zoo](https://youtube-md.vercel.app/jNQXAC9IVRw/640/360)](https://www.youtube.com/watch?v=jNQXAC9IVRw)

Me at the zoo

Usage

You can either use the web app to generate the code or use the Web Api.

Open Web Editor
API
https://youtube-md.vercel.app/<video-id*>/<width>/<height>

*: required

ParameterDescriptionTypeoptional
video-idId of the YouTube video you want to addParamNo
widthWidth of the image. Used asheight if onlywidth is providedParamYes
heightHeight of the ImageParamYes
?heightSame asheightQueryYes
?widthSame aswidthQueryYes

Note: Default values for width and height are640 and360respectively.

Support

Support this project by buying me a coffee and starring ⭐ this repo!

Buy Me A Coffee

License

This project is licensed under the MIT License - see theLICENSE file for details.


[8]ページ先頭

©2009-2025 Movatter.jp