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