Excalidraw Image Center in Note?

is there a way to center the excalidraw sketches that are pasted with ![[image]]?

I would be very grateful for help :slight_smile:

I think you can do ![[image|center]] with excalidraw images


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 :frowning:

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"] {
    margin-right: 2rem;
    margin-bottom: 4px;
    margin-top: 4px;

img[alt*="right"] {
    margin-left: 1rem;
    margin-bottom: 4px;
    margin-top: 4px;

    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 :frowning:
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

1 Like