Closed ZhymabekRoman closed 2 years ago
I didn't see such functionality in other plugins. I don't know whether it is possible to hook the action of pasting links in Obsidian. If you can provide an example, I can try to implement this feature.
Probably something like this - https://github.com/samwarnick/obsidian-simple-embeds
The plugin just changes the preview of the link. It didn't change the way Obisidian handles when the user pastes a link.
I guess you want the feature that Notion has, right?
I guess you want the feature that Notion has, right?
Yeah
In Obsidian is it possible to implement the same using this plugin or through other plugin?
I think there might be a way to implement this feature. But the thing is Obsidian didn't provide any sophisticated example to demonstrate their APIs, nor any detailed Offical document about their APIs. It's hard for me to find the right solution in this situation. If there is an example of this, it will save a lot of time.
It seems to me it is possible to implement this functionality as a markdown block. See this - https://github.com/MSzturc/obsidian-better-pdf-plugin
If you need any help (to test, for example) - just ping me
This example is just like the last one. It only changes the preview look of these links. 😂
I was checking this plugin. I don't know if EditorSuggestion is the right way to do this. I might have to check more plugins for references. https://github.com/argenos/nldates-obsidian/blob/master/src/suggest/date-suggest.ts
Check out new 1.4.0 release
Thank you very much!
This is great! Is it possible to avoid the popup altogether and just "whenever I paste a link, default it to embedded"?
..err, actually, if you could just switch around the order of the 2 popup items, that would actually be ideal. So, the flow is like:
Create Embed
is first selected option (instead of Dismiss
)That way, I can just press "return/enter" instead of down arrow and enter....yes, I'm lazy. 😝
I created a PR: https://github.com/Seraphli/obsidian-link-embed/pull/8
Hello, thank you for the plugin. Is it possible to make it so that all links are automatically made in embed?