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
It generates ![[http://mydomain.com/files/path/to/file.png]].
That syntax is expecting a local file. Ideally, this plugin would download the linked file and store it in my vault. However, second to that generating a valid markdown image embed like ![file.png](http://mydomain.com/files/path/to/file.png) would also be OK.
The resource payload includes type: "image/png" so we could hopefully use that to detect images that should generate different markdown.
The text was updated successfully, but these errors were encountered:
I have a memo setup that hosts files (including images) in S3 compatible storage.
The resource returned from the memo API has a direct link to the image under
externalLink
.Given that, this code here: https://github.com/quanru/obsidian-periodic-para/blob/22046390e73b9e6a517a43eff15fa5847c513192/src/util.ts#L122-L129 generates invalid markdown.
It generates
![[http://mydomain.com/files/path/to/file.png]]
.That syntax is expecting a local file. Ideally, this plugin would download the linked file and store it in my vault. However, second to that generating a valid markdown image embed like
![file.png](http://mydomain.com/files/path/to/file.png)
would also be OK.The resource payload includes
type: "image/png"
so we could hopefully use that to detect images that should generate different markdown.The text was updated successfully, but these errors were encountered: