I uploaded an image as attachment in my wiki page... here the code generated to the page:
![myImage.png](/.attachments/MyImage_3-dc7eb2d3-c632-4fe3-831a-b5dbfcbf1d98.png)
I would like to center this image. But I cannot.
I tried to wrap that YAML code inside an HTML div.. but it's like i cannot insert YAML tags inside HTML tag...
I also tried to add the style
tag, but style
tag is not supported in Azure devOps Wiki pages.
Finally I tried to add a HTML img
tag instead of yaml, but it does not recognize therelative path of the uploaded image...
Does a way to center the image exist?
Thank you
Developer Community. Currently, mermaid diagrams are supported in Azure DevOps Wiki only. It would be helpful to extend the support to all markdown file in the repository, either in preview and/or in the files section of a pull request.
Here you can find some basic Markdown syntax guidance and specific guidance for using Markdown in Azure DevOps features. You can use both common Markdown conventions and GitHub-flavored extensions.
Azure DevOps uses standard Markdown syntax.
Based on the answer of rickvdbosch it can be done simply with:
<center>
![image.png](/.attachments/image-b2195f3b-f3af-467b-b9d6-0853b1cd7d08.png)
</center>
Without the need of a blob storage in Azure but just with the relative path created by Azure DevOps when inserting the image.
Steps:
<center>
tags around it<center>
tagIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With