Originally, I posted this as plugin, but reconsidered, and think this could be a feature.
It would be cool to be able to quickly combine the content of multiple links (if in editor) or nodes (if in graph view), or even notes (if in file explorer) into a new note. Perhaps, there could be a setting for the max number of lines to include.
I could see some advanced features allowing for adjusting the hierarchy of the composite with relative ease in the process, potentially allowing a commit that would actually link those notes to each other based on that hierarchy, although that would be a bonus feature, yet very powerful. Additionally, by selecting multiple notes in explorer and clicking a create button, it could interpret already existing hierarchy into the composite note for those source notes.
In real time, it could order the source content based on sequence of clicks, and neatly format the new composite note with headers, with undo capabilities. Also, there could be a toggle for whether you want the new note to be linked to or from the source notes, if at all.
I would not want the source notes to be affected. I see it as more of a way to combine different combinations of notes into new rough draft ideas. Those same source notes would continue to be used in concert with other notes to create additional rough draft idea combinations.
The part in my post about creating and interpreting links between notes in hierarchy should probably be separated into separate idea, but honestly I think the interface I imagine could lend itself to being quite helpful in that context.
Thanks for reading my request. It is nice to be heard.
@Davew : As far as I know, there isn’t anything yet, but I am happy to hear there is more interest.
I would imagine that this is probably currently lower on the list of priorities as it is likely somewhat easy to accomplish in pandoc or something similar. But personally, I couldn’t help you other than to some scripts I found posted elsewhere that I’d rather not run.
If someone knows a good easy workaround, a good pandoc or similar workflow, or even just something that is better than manual, maybe add a link here. It would definitely be appreciated.
@mjhoefer:Here is one option, but it only works if your goal is to export, which is not the case in my request. But I will share it anyways. If you have the notes all in order in the Explorer pane, shift select the entire range of them and drag them into an empty note. It can be easier to pin the empty note first so that when you select the range, it doesn’t open the first note you click.
The resulting list of links can be changed into a list of embedded notes by adding an ! before the [[. A quick way to do this is doing a Find and Replace within the note, finding all occurrences of [[ and replacing them with ![[. If you like using plugins, I believe there is a plugin that does this automatically if you hold alt while dragging links from the Explorer pane in the previous step, but that’s besides the point.
At this point, if you are in either preview or live preview mode you will see all your text. There is a css snippet to disable scrollbars for embeds thus showing the entire text. Regardless, when you Export to pdf you will get the entire text. You might want to give it a try, selecting and copying text from preview mode and see if it can be successfully pasted into a new note. However, last time I checked or heard, that process has some issues. So you could copy and paste from your pdf and experiment with whether you prefer normal pasting or paste unformatted text. From there, I guess you might have to do some cleanup.
People may recommend a pandoc workflow, but I can’t help you with that. It sure would be nice to be able to do this in Obsidian and retain all the formatting. Perhaps someone will see this and recommend some plugin I am unaware of. Thanks for your interest!
I’m very surprised that there hasn’t been a plugin to address this yet - Obsidian’s setup encourages writing in shorter notes, but using them often requires combining them.
I think I’ll stick a request on the bartender github as it seems that could be a major use for manual sorting.
So, the idea would be that you would have to manually sort a few files you want to create a merged version of within the bartender plugin? To be clear, you are going to request that there is a command added to actually accomplish this. This probably seems like a stupid question, but since I am not completely familiar with the plugin, I just wanted to double check that I am not missing something obvious here.
Hopefully you will link to your request. I really appreciate your idea, and am very much looking forward to looking further into the plugin and potential solutions.
Bartender allows manual sorting in the file explorer. There are many reasons why someone may want to have manual sorting, but one of them is that they are writing short notes, but with the intention that they be combined to produce a single long document. So one option would be for bartender to allow the manually sorted export in the way you suggest to preserve the sorting; that would be a time saving. Or, additionally going the extra yards to produce an export or merge.
Bartender is still quite early in development so I’m very unsure what ideas the developer has for the future. But this is their github page, so it looks as if their interests span this area. nothingislost (NothingIsLost) · GitHub