SlRvb / Obsidian--ITS-Theme

Theme designed with readability and customizability in mind. Change it easily to your liking with the Style Settings plugin installed.
https://publish.obsidian.md/slrvb-docs/ITS+Theme/ITS+Theme
GNU General Public License v2.0
545 stars 116 forks source link

Image Position: Center is not working! #91

Closed Missionary-OSBS closed 2 years ago

Missionary-OSBS commented 2 years ago

Describe the bug

Embedded Image cannot be center. ![[file.png|center]] does not center the image. However, ![[file.png|ctr]] does center.

Expected behavior The image should be centered when I used ![[file.png|center]]

To Reproduce

Steps to reproduce the behavior:

  1. Embed an image file
  2. Enter center![[file.png|center]]
  3. See error in Reading View: the image is still on the left, not rendering in the center.

Screenshots

OS

Where does the bug occur?

Obsidian Version: v0.14.2

Additional context

When I position an image whether to left / right / center, I would like the text to be rendered below the image instead of side-by-side with the image. Is that possible ?

SlRvb commented 2 years ago

I think I've fixed the center issues 9b723f1, could you update and see if it helped?

SlRvb commented 2 years ago

For text below the floating images are you asking for captions?

Missionary-OSBS commented 2 years ago

Thanks, it works now.

SlRvb commented 2 years ago

I'm not sure what the additional context is asking for, so I think this issue is solved. If not, do reopen it or open another issue regarding the additional context stuff.