Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞 Does not work for embedded images with markdown link format #32

Open
3 of 7 tasks
mnaoumov opened this issue Jan 21, 2024 · 1 comment
Open
3 of 7 tasks

Comments

@mnaoumov
Copy link

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

Expected Behavior

Consider

![](!!files/my-image.png) { .my-custom-class }

It should render an image with added my-custom-class

Current behaviour

The image is rendered without the added class and text { .my-custom-class } is rendered as text from the new line

Reproduction

  1. Use the following markup
![](!!files/my-image.png) { .my-custom-class }
  1. Switch to the preview mode.

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

1.5.3 and 1.5.3

Plugin Version

1.2.2

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

No response

@CraigRGordon
Copy link

Having the same issue, not sure what do about it. Only difference was I used

![[/path/image]] {.class}

It just shows as text and not assigning the class to the image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants