@rini @mattly They previously even had support for something that's "nicer" in Markdown using #/targets in the URL but that way is deprecated and just using HTML is the preferred way.
https://github.blog/changelog/2021-11-24-specify-theme-context-for-images-in-markdown/