obsidianmd / obsidian-clipper

Official web clipper extension for Obsidian.
https://obsidian.md
MIT License
767 stars 27 forks source link

Auto-pair syntax #38

Open writtenfool opened 1 month ago

writtenfool commented 1 month ago

When in the context window, it would be nice to select text and, just like in Obsidian, enter a single bracket [ and have the extension automagically surround the text with a link.

kepano commented 1 month ago

We should keep these two feature requests separate.

For the first request I would suggest that you collapse the Properties area by clicking "Properties", we'll add an icon to make this clearer. Unfortunately there is a maximum height so we can't expand the note area any more. But it scrolls.

writtenfool commented 1 month ago

Collapsing solves the problem nicely!

kepano commented 1 month ago

Regarding the auto-pairing syntax, this would be a bigger change and I am worried it's a slippery slope to creating the expectation that all the normal editor functionality of Obsidian would be available within the extension popup, which will not be possible (e.g. autocompleting tags, file names, etc).

It might be worth doing some basic things at some point, but since currently the functionality is to open Obsidian with that content loaded it seems better to push this work to happen in Obsidian itself.

writtenfool commented 1 month ago

No worries. I'm happy as a clam with what this does now. Keep up with creating. This is gonna be a hit!