how to center an image in markdown

54

align text and image middle line markdown -

<!-- To align IMAGE, use the following -->
<p align="center">
  <img width="200" src="http://material-bread.org/logo-shadow.svg" alt="Material Bread logo">
</p>

<!-- To align TEXT at center, use the following -->
<center>Centered text</center>

<!-- To align HEADER 1 TEXT at center, use the following -->
<h1 align="center">Centered HEADER 1</h1>

Comments

Submit
0 Comments