Markdown: Difference between revisions

From miki
Jump to navigation Jump to search
Line 16: Line 16:
To center image on GitHub [https://gist.github.com/DavidWells/7d2e0e1bc78f4ac59a123ddf8b74932d]:
To center image on GitHub [https://gist.github.com/DavidWells/7d2e0e1bc78f4ac59a123ddf8b74932d]:


<source lang=markdown>
<source lang=text>
<p align="center">
<p align="center">
<img width="460" height="300" src="http://www.fillmurray.com/460/300">
<img width="460" height="300" src="http://www.fillmurray.com/460/300">
Line 23: Line 23:


To left/right align:
To left/right align:
<source lang=markdown>
<source lang=text>
<img align="left" width="100" height="100" src="http://www.fillmurray.com/100/100">
<img align="left" width="100" height="100" src="http://www.fillmurray.com/100/100">
<img align="right" width="100" height="100" src="http://www.fillmurray.com/100/100">
<img align="right" width="100" height="100" src="http://www.fillmurray.com/100/100">

Revision as of 00:46, 29 December 2017

Links

References
Tools

Tips

Comments in Markdown

We abuse link tags [1]:

[//]: # (This may be the most platform independent comment)

Align images

To center image on GitHub [2]:

<p align="center">
  <img width="460" height="300" src="http://www.fillmurray.com/460/300">
</p>

To left/right align:

<img align="left" width="100" height="100" src="http://www.fillmurray.com/100/100">
<img align="right" width="100" height="100" src="http://www.fillmurray.com/100/100">