note-refactor-obsidian icon indicating copy to clipboard operation
note-refactor-obsidian copied to clipboard

Inserting block contents into current note for further editing

Open argenos opened this issue 4 years ago • 3 comments

Use case

Creating a new note (note B) and wanting to reference expand upon an idea in another note (note A). While typing in note B, I can use [[^^ to search for a block and insert it, but I would often want to rephrase or expand on what I wrote before, while keeping the original block intact and keeping track of where the idea came from.

Solution

After having inserted a block, using a command to insert its text into the note. That text can either be

  • before the link and use the pipe with some symbol in order to keep track of where the idea originated, e.g. The idea of towel day is based on the description by Douglas Adams of a person who is always ready [[adams1979#^asd1234|+]]
  • add it as an alias of the block link (I can rephrase it), e.g. [[adams1979#^^asd1234|having one's towel is essential]]
  • maybe use actual footnotes, e.g.
I should always have my towel [^1]

[^1]: [[adams1979 - Green Annotations (2020-11-16)#^391655| The  Hitchhiker's  Guide  to  the  Galaxy  has  a  few  things  to  say  on  the subject  of  towels]]

argenos avatar Dec 05 '20 15:12 argenos

This would be so helpful and useful!

brimwats1 avatar Dec 05 '20 17:12 brimwats1

This would be awesome!

eleanorkonik avatar Feb 10 '21 22:02 eleanorkonik

Love this idea. Also as another similar idea/request I have made in Discord:

Is there any way to create a block ref from any sort of click/drag activity of a line? If not would be cool if:

  1. Can right-click (context menu) any line and have an option to create block ref by adding a ^block-ref-id to the end of that line and then copy to clipboard the ![[Page-Name#^Block-ref-id]] to be pasted somewhere else.

  2. Select a line of text and be able to click n drag the selection (like you already can) but then if you hold ctrl or shift or alt or some key combo, it turns that line into a block ref by adding the ^123445 id on the end and then wherever you drag it to will create the ![[Page-Name#^Block-ref-id]].

  3. similar to how in search you can click n drag a result to create the page link wherever you drag it to, if you click n drag the result somewhere, it should create a block ref for you and insert into wherever you dragged it in the ![[Page-Name#^Block-ref-id]] format. If you click n drag the page itself, then it can keep the same functionality with creating page link. But if you click n drag one of the actual results of the search, then creates block ref.

GitMurf avatar Mar 03 '21 15:03 GitMurf