obsidian-typst
obsidian-typst copied to clipboard
[Bug]: Not support PNG file parse
When use PNG file in Figure's imge, like the follow code:
#figure(
image("附件/24.png", width: 50%),
caption: [
图片描述文字。
]
)
report ERROR:
Error: failed to decode image (Format error decoding Png: Invalid PNG signature.)
╭─[/README.md:7:3]
│
│
───╯
But works well in vs code with same image file.