Skip to content

Instantly share code, notes, and snippets.

@pokev25
Forked from ikaruce/addYoutubeInMarkdown.md
Created November 7, 2016 02:07
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 pokev25/f8b3392106abb8037a4d69e7660e65fc to your computer and use it in GitHub Desktop.
Save pokev25/f8b3392106abb8037a4d69e7660e65fc to your computer and use it in GitHub Desktop.
Add youtube link with screenshot in markdown.

마크다운 문서에 유튜브 링크 추가하기.

표준 마크다운 문법을 따르는 문서에서는 유튜브에서 제공하는 iframe 태그는 차단됩니다. 그래서 약간의 트릭이 필요합니다. 스크린샷 이미지에 링크를 다는 것이지요.

아래와 같은 방식으로

[![이미지 텍스트](스크린샷 이미지)](유투브링크)

깃헙의 LFS를 설명해 놓은 동영상을 링크를 걸면

[![Video Label](http://img.youtube.com/vi/uLR1RNqJ1Mw/0.jpg)](https://youtu.be/uLR1RNqJ1Mw?t=0s) Video Label

위와 같이 나옵니다. (아주 고맙게도 유튜브에서는 스크린샷 링크를 제공해주네요. )

진짜 스크린샷을 찍어서 공유하거나하는 더 자세한 설명은 다음링크를 참조하세요(영문) http://stackoverflow.com/a/29862668

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