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
523 stars 112 forks source link

[Bug] Image positioning Snippet doesn't work in Live Preview #165

Closed ThiagoRangel7 closed 1 year ago

ThiagoRangel7 commented 1 year ago

Describe the bug

Trying ![[image.png|right]] or ![[image.png|left]] doesn't work in Live Preview mode. center appears to work.

Expected behavior Image should float to the left or to the right depending on the keyword used.

To Reproduce

Insert an image with the right or left modifier in the default theme (not ITS theme)

OS

Windows 10 LTSC 2021

Obsidian Version: SYSTEM INFO: Obsidian version: v1.0.3 Installer version: v1.0.3 Operating system: Windows 10 Enterprise LTSC 2021 10.0.19044 Login status: not logged in Insider build toggle: off Live preview: on Legacy editor: off Base theme: dark Community theme: none Snippets enabled: 1 Restricted mode: off Plugins installed: 3 Plugins enabled: 3 1: Mathpad v0.8.6 2: Advanced Tables v0.18.0 3: Editing Toolbar v2.2.2

SlRvb commented 1 year ago

Should work now on theme v0.8.8 (and snippet) if you add lp to your images.

![[image.png|left lp]]

I will warn that if editing in Live Preview gets weird and/or becomes hard target around the image to remove lp.