Browse Source

Fixed YouTube links

main
Kenneth John Odle 1 year ago
parent
commit
d0553e3498
  1. 8
      markdown.md

8
markdown.md

@ -413,8 +413,8 @@ They can't be added directly but you can add an image with a link to the video l
Code:
```no-highlight
<a href="http://www.youtube.com/watch?feature=player_embedded&v=YOUTUBE_VIDEO_ID_HERE
" target="_blank"><img src="http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg"
<a href="http://www.youtube.com/watch?feature=player_embedded&v=sg90VJjZPKU
" target="_blank"><img src="http://img.youtube.com/vi/sg90VJjZPKU/0.jpg"
alt="IMAGE ALT TEXT HERE" width="240" height="180" border="10" /></a>
```
@ -429,9 +429,9 @@ Or, in pure Markdown, but losing the image sizing and border:
Code:
```no-highlight
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg)](http://www.youtube.com/watch?v=YOUTUBE_VIDEO_ID_HERE)
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg)](https://www.youtube.com/watch?v=sg90VJjZPKU)
```
Results:
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg)](http://www.youtube.com/watch?v=YOUTUBE_VIDEO_ID_HERE)
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg)](https://www.youtube.com/watch?v=sg90VJjZPKU)
Loading…
Cancel
Save