Consider note
some image [^1]
[^1]: ![](<./myImage.png>)
If you get app.metadataCache.getFileCache(app.workspace.getActiveFile())
you will get cache with two identical embeds
{
"embeds": [
{
"position": {
"start": {
"line": 3,
"col": 6,
"offset": 24
},
"end": {
"line": 3,
"col": 26,
"offset": 44
}
},
"link": "./myImage.png",
"original": "![](<./myImage.png>)",
"displayText": ""
},
{
"position": {
"start": {
"line": 3,
"col": 6,
"offset": 24
},
"end": {
"line": 3,
"col": 26,
"offset": 44
}
},
"link": "./myImage.png",
"original": "![](<./myImage.png>)",
"displayText": ""
}
],
...
}