Margin note popup starts read only. When once clicks into the text it becomes editable. This makes links clickable.
Setting Margin note popup icon scale factor for scaling the icon that shows in the margin for a margin note popup
Setting Margin note marker scale factor for scaling the icon in the main text marking a margin note
Fix:
Issue causing cursor to not move past margin note markers and preventing from adding a space after the markers.
@RepresentatiON Could you provide more context about the bug you’re experiencing? I can see in the screenshot that the icon is in the text somewhat but when did this occur? What do you mean by a bug that connects with the leftside bar?
When i open leftside bar. It’s the same problem arises as with sidenotes. You were able to fix it using the Gap Drift Factor parameter, but apparently it doesn’t work with margin notes, because when you open leftside bar, margin notes shift to the left and overlap the text.
Regarding margin note scaling, it’s very cool. Thank you for this innovation and your efforts.
One more thing about references. You may have misunderstood me a little. What I meant was that when I use square brackets in sidenotes or margin notes, Obsidian doesn’t offer me options for selecting the notes I want to reference, unlike what happens in the main text (in a regular editor).
In addition, the hide sidenote function does not work for me. When I work with two windows on the monitor, the sidenote does not hide, but overlaps the text, which sometimes interferes. I tried setting hide sidenote to 100 pixels, but it didn’t work.
@writtenfool there are two ways of formatting sidenotes.
HTML: these are tags within the note content itself. So at any point you can place a <span class=”sidenote”>Sidenote text</span> and that will show in the margin.
Footnotes: The plugin will convert existing footnotes into sidenotes. It will default to showing the footnotes at the bottom of the document as well or you can set a setting to hide those.
I also noticed two important features. First, margin notes are not visible in reading mode (they are only visible in editing mode). This doesn’t bother me at all, but it may be vitally important to some users. Second, regular footnotes and margin notes are arranged in the “chronological order” in which they were added. I think there should be a setting to separate them so they don’t get mixed up. That is, standard footnotes first, then margin notes, or vice versa. When they are mixed together, it is sometimes not very convenient to work with them (at least, that’s how I
Thanks for the feedback. I’ve released 0.3.6 that has revisions to the logic around resizing/repositioning sidenotes when responding to the editor being resized. Hopefully it works more smoothly.
As always, let me know if you have any issues. I’ll try to get to them as soon as I can.
I’ve released 0.3.7 which further updates the positioning logic. It should do a better job of calculating where the edge of the text is so that the sidenotes remain positioned a predictable distance away. Likewise, if anchoring to the editor edge, it should do that better too.
Thank you for your work! Yes, it really is a little better. Especially in lines where there is both a sidenote and a margin note.
P.S. Have you figured out yet how to separate standard footnotes from margin notes at the bottom of the page so they appear separately? (to avoid confusion)
I explored this specific problem and found native Obsidian comments to be best for this for me. I almost never use them in writing, and since they don’t show up in live preview, it makes them perfect for hiding things in plain sight.
I use this as “floating comments,” for when I want to add extra commentary to a piece of personal writing (I use footnotes [inline, mostly] instead for external pieces as that enforces greater and cleaner separation between my thoughts and that of the author).
For sidenotes, I decided to go the callout route. I also don’t really use those in my notes. So, they’re perfect for when I really want something to stand out by popping them to the side. The syntax is a little messy, but I couldn’t think of anything simpler:
This is the cleanest I could get floating comments/sidenotes working in Obsidian without another plugin or custom HTML in the notes. Just Obsidian defaults tweaked to fit my specific use case.
Tried playing with inline footnotes (since they can be explicitly targeted) but it’s a little… janky: viewport keeps jumping to the top of the note while editing.
Thank you thank you thank you!!! I’ve been trying all different ways to make side comments to my reading notes (I don’t have any coding knowledge…) and this is exactly what I’m looking for! Thank you so much for sharing it with the community.