hi,
is there a way to center the excalidraw sketches that are pasted with ![[image]]?
I would be very grateful for help
hi,
is there a way to center the excalidraw sketches that are pasted with ![[image]]?
I would be very grateful for help
I think you can do ![[image|center]] with excalidraw images
Hi,
unfortunately this is not possible.
it only works left and right
i just found out that it works with the standard theme from obsidian.
unfortunately I use cybertron, there it does not work … annoying
in my own theme I use for images
you can skip the first one (this is to invert colors adding |inv)
img[alt*="inv" i] {
filter: invert(1);
}
/* Floating Images */
/* (Images position) */
img[alt*="left"] {
float:left;
clear:left;
margin-right: 2rem;
margin-bottom: 4px;
margin-top: 4px;
}
img[alt*="right"] {
float:right;
clear:right;
margin-left: 1rem;
margin-bottom: 4px;
margin-top: 4px;
}
img[alt*="center"],img[alt*="centre"]
{
display:block;
margin-right: auto;
margin-left: auto;
margin-bottom: 4px;
margin-top: 4px;
}
you can add this to the theme you are using and see if it makes it work
thank you for the answer.
with the theme cyberthron goes center unfortunately not with the excalidraw graphics
it only works with syncron png graphics
not with the excalidraw graphics
yes what I thought. you can ask the guy doing the plugin. he answers questions. I saw him on YT he answers questions. or you can do an issue on github