I use org-attach to add/download image file from local or web url. Then [C-c
C-l] (org-insert-link) to insert link from previous added attach image file.
In some places like ox-html, ox-epub, they use inline images without desc to
display image. If has `[desc]` part, the image will become a link. So I hope
can add an advice around function `org-insert-link` or somewhere should.
Anybody knows how to do this? Can you show the code? I checked out
`org-insert-link` source code, don't know how to add advice around it.
--
[ stardiviner ]
I try to make every word tell the meaning what I want to express.
Blog: https://stardiviner.github.io/
IRC(freenode): stardiviner, Matrix: stardiviner
GPG: F09F650D7D674819892591401B5DF1C95AE89AC3