Skip to content

Instantly share code, notes, and snippets.

@bilzard
Last active May 31, 2019 00:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bilzard/a632b6a6a79839cba1c0fd67f64b87ff to your computer and use it in GitHub Desktop.
Save bilzard/a632b6a6a79839cba1c0fd67f64b87ff to your computer and use it in GitHub Desktop.
Markdown に Youtube の動画リンクを画像付きで埋め込む

Youtube のサムネイルを markdown に埋め込む

画像にリンクを張る

[![alt text](http://example.com/exampl.png)](http://example.com/link "title")

YouTube の動画のサムネイル画像を取得する

http://img.youtube.com/vi/{video-id}/0.jpg

YouTube のサムネイル画像をリンクにする

[![Audi R8](http://img.youtube.com/vi/KOxbO0EI4MA/0.jpg)](https://www.youtube.com/watch?v=KOxbO0EI4MA "Audi R8")

Audi R8

上記のことを自動で行ってくれるWebサイト

http://embedyoutube.org/

参考

http://sviridovserg.com/2017/05/22/embed-youtube-to-markdown/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment