Currently, the method to achieve the effect in the editor using pure CSS is
to give all the list elements and outline elements in the editor a hierarchical structure (which conflicts with the element design philosophy for the live preview mode);
to add a class name at the beginning of each list to identify it (which obviously will not be considered based on the design philosophy like quotes and code blocks or the limitations of CodeMirror itself).
I checked your obsidian-theme-maple theme and found outline.css and theme.css but I am not sure what the relevant parts are that are needed for this snippet.
Hi, thanks for clearing that up. Works perfectly well now, just encountering an issue where if the heading is a little too long - it tends to get cut off. Unlike in the core outline plugin where it jumps to the next line. Have attached a picture showcasing the issue. Could you let me know if there is any potential workaround? Thanks a ton.
Currently the bullet height is determined by line height. If the item have multi lines, the bullet will render in wrong place that break the thread. That need some work to fix that.
I plan to add support for outline in editor ( reference ), and this might be fixed at that time
As the author of the referenced style for the editor, I’m also not aware of a way to know for sure where the bullet point is drawn. That is unless you have an idea how to alter the thread design, so it doesn’t interfere with the bullet point position.
Multiline items and inline images affect the bullet point position differently -it can potentially be anywhere along the height of the item if the item is higher than trivial one-line text.
(side note: there are some feature requests under my gist, I plan to update it at some point, hopefully soon, although I might be busy for a couple weeks)
any update on this? i am seriously considering to move to obsidian but the bullet visual UI (the visual indicators of hierarchy and collapsed states) is so counter intuitive that I can’t just use obsidian.
Have a look in this thread Plugin for Bullet Threading - #31 by KillyMXI for what you want, the gist further up the thread (linked as a reply from the above post) has the CSS snippet.
Suggest you post into that thread, and maybe the author CSS author KillyMXI will be able to help you out to get it working. I’m currently away without access to my machine, although fwiw it was working for me perfectly when I left.