You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Obsidian, images can have their width set using a shorthand syntax:
![[image.png|250]]
Issue
The plugin currently misinterprets this syntax when converting to Anki. Instead of setting the width, it treats the value intended as the width (250 in this example) as the alt text. As a result, the converted Anki card contains the following HTML:
<img src="image.png" alt="250">
The plugin should interpret the value as the image width, resulting in the following HTML:
<img src="image.png" width="250">
The text was updated successfully, but these errors were encountered:
Background
In Obsidian, images can have their width set using a shorthand syntax:
Issue
The plugin currently misinterprets this syntax when converting to Anki. Instead of setting the width, it treats the value intended as the width (
250
in this example) as thealt
text. As a result, the converted Anki card contains the following HTML:The plugin should interpret the value as the image width, resulting in the following HTML:
The text was updated successfully, but these errors were encountered: