Skip to content

Instantly share code, notes, and snippets.

@XingLiangLondon
Last active June 11, 2019 19:21
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 XingLiangLondon/ffe03d49e764a54109019810b932bb2f to your computer and use it in GitHub Desktop.
Save XingLiangLondon/ffe03d49e764a54109019810b932bb2f to your computer and use it in GitHub Desktop.
Tricks for readme.md file
embeded video
Way 1:
[![Watch the video](https://img.youtube.com/vi/nwIRszst49Y/hqdefault.jpg)](https://www.youtube.com/watch?v=nwIRszst49Y&feature=youtu.be&t=2)
Way 2 (center aligned):
<div align="center">
<a href="https://www.youtube.com/watch?v=nwIRszst49Y&feature=youtu.be&t=2"><img src="https://img.youtube.com/vi/nwIRszst49Y/hqdefault.jpg" alt="IMAGE ALT TEXT"></a>
</div>
embeded image
Way 1:
![](Image/Figure%201.PNG)
Way 2:
<img src="Image/Figure%201.PNG" width="800">
Way 3 (center alighed):
<p align="center">
<img src="Image/Figure%201.PNG" width="650">
</p>
Way 4 (two images in the same line):
<img src="Image/Figure5left.PNG" width="250"><img src="Image/Figure5right.PNG" width="250">
<img src="Image/Figure6left.PNG" width="250"><img src="Image/Figure6right.PNG" width="250">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment