Purpur
1
Hi everyone,
I want to embed a small image (e.g., image.png, 200x200 px) into the text of an article.
The image should:
- be right-aligned with the text.
- have its top edge aligned with the top of the text.
- if possible, the text should wrap around the bottom of the image if the text spans more lines than the image is tall.
Is this possible in Markdown?
Thanks for your help and your time.
Best regards
This is impossible in markdown but you can insert HTML code to your notes.
Using CSS to float the image is an option. e.g.
img[alt*="right"],
.markdown-source-view .cm-content .image-embed[alt*="right"] {
float: right;
/* add paddings/margins etc if needed */
}
and the link is written as ![[hippo.jpg| right | 200]]
mauris justo.Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
![[hippo.jpg| right | 200]]
Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
https://obsidian.md/help/snippets