How to align the image in Markdown?
By default, images are aligned to the left. You would want to change the alignment of certain images in your articles. You can easily perform this action in the WYSIWYG editor with the 'Align' options in the toolbar. However, there is no option to align the image in Markdown. Follow the below workaround to keep the image in the desired alignment in Markdown.
- Go to the desired article in the Knowledge base portal
- Paste the below code in the desired location in the editor where you want the image to appear
<p style="text-align: center"><img src="https://files.document360.io/filename/folder/subfolder/imagename.png"></p>
- The above code is for center alignment. If you want to keep the alignment as left or right, replace the term 'center' in the code with 'left' or 'right' as per your requirement
- Right →
- Left →
- Replace the URL '
https://files.document360.io/filename/folder/subfolder/imagename.png' with your desired image URL
Where can I find the URL of an image in Drive?
a. Go to Drive and navigate to the folder in which the desired image is available
b. Click the desired image (or) Click ••• (next to the desired image name) → View details
c. File details blade appears on the right, and you can find the image URL below the Size information
d. Click the Copy icon, and the image URL would be copied