Ive finally realized a very simple way to implement this…
Ive looked everywhere for something like this- a simple sidebar for aditional notes on a file (so, per file) that remains there no matter how we scroll through the file, always editable… its a great feature in scrivener (called scrivenings), with similars in the form of comments in other apps- others like Notion just let us make columm on the notes thenselves… And its a cornerstone of methods like Cornell notes
Couldnt find any plugin pulling it off yet- and the closes i could get were css snippets that turn something into side notes or columm on reading mode.
Previously i tought it would be a complex one to pull off- a particular folder for the plugins ‘side notes’ as extra md files, or even saved in plugin data outside of the vault…
But then i realized all it would need is making the ‘hack’ bellow automated
One way i pulled it off quite some times is by making a duplicate tab of the same file, dragging it to the side bar and just scrolling to a sidenotes header at the bottom- or just spliting right hiding the sidebar.
But that isnt feasible to be done all the time…
The Idea
Setup:
- A tab by default on the right sidebar that shows a texbox- actually an editor view, and actually targeting the active file
- In settings an editable textbox for the side notes target- by default something like
#####Side Notes - A toggle for ‘auto create side notes target’, explaining it only work on .md files.
- optional, bonus could be nice being able to change the background color of said side notes
Logic
1) On render the side notes editor scans active file for target and ‘embeds it’
- First ocurrence of the string on the active file
- In theory would also work on canvas, first card made with that string
- Either it shows everything bellow that marker or it works like embeding headers (meaning the next header equal or lower then it wouldnt show)
2) If theres no target and the ‘create’ setting is turned on, clickin on the editor creates it
It pastes the string on the bottom of the file(.md files only) and renders it.
3) Its just another view of the same note
Live editor/preview mode, in theory all plugins the user uses would work normally- as it would logically be a note on the side bar.
I imagine that would be a very simple plugin, mostly relying on something Obsidian can already do… it would just be swaping the active file
Is that too tall of an ask?
Im also open to alternatives in case i missed some plugin… or if theres some way to make that myself manually- like idk, putting a note on the sidebar, a header embed (somehow editable) but the target of said embed being ‘active file’…
Any ideas?
PS: obviously im no coder, but given the apparent simplicity of the idea i wonder if AI could do it… looking around most tips ive seen are geared towards coders using AI to help, not really a clueless normie asking for a whole plugin. Anyone knows or have experience if doing Obsidian plugins like this can work? Can i just trial and error prompt AI to just make this for me?