When I want to include a collapsed section in markdown as follows
<details>
<summary>Click to expand!</summary>
I'd like to show an image here, for like this:
<center></center>
</details>
However the image does not appear until I remove the <details> part again. How can I achieve what I want?
You can achieve it. Firstly you need to add four spaces before all those tages and newlines before and after the block. Secondly you can add image differently:
<details>
<summary>click to expand</summary>
<IMG src="blob:https://dev.azure.com/..." alt="image.png"/>
</details>
If 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