While using silverbullet-pub, I had issues getting images to work. If I used absolute paths in markdown like ![](/Commands/2024-03-09_04-01-31-chat-example.gif) it would work in SB, but the html would render as <img src="//Commands/2024-03-09_04-01-31-chat-example.gif"> with a double slash in front, causing the image not to load.
I couldn't find anywhere else that uses options.attachmentUrlPrefix, so I'm assuming it was added for pub and hoping this would always be expected behavior.
While using silverbullet-pub, I had issues getting images to work. If I used absolute paths in markdown like
![](/Commands/2024-03-09_04-01-31-chat-example.gif)
it would work in SB, but the html would render as<img src="//Commands/2024-03-09_04-01-31-chat-example.gif">
with a double slash in front, causing the image not to load.I couldn't find anywhere else that uses
options.attachmentUrlPrefix
, so I'm assuming it was added for pub and hoping this would always be expected behavior.