org-roam / org-roam-ui

A graphical frontend for exploring your org-roam Zettelkasten
GNU General Public License v3.0
1.99k stars 109 forks source link

[ENH] Render bullet hiearchy in note sidebar #241

Open notuntoward opened 2 years ago

notuntoward commented 2 years ago

I'd like the node note shown in the right hand org-roam-ui sidebar to look more like what I see in emacs, or at least what it would look like in exported html.

The left side of the screenshot below shows what I see in emacs (leading bullets hidden, org-superstar formatting), and the right side shows what I see in the org-roam-ui note sidebar. I'd like the two to look more like each other.

Of course, implementing all of org-mode in the sidebar -- and also parsing my config -- is probably not the way to go. But what could be possible is use the html exported by emacs, paying attention to the org mode document directives. #+OPTIONS: H:0 num:0 would look very close to what I want, in fact, I put this at the top of my literature notes so the export looks right. org-roam-ui could read that from the .org file, or it could be some kind of an option.

image
tefkah commented 2 years ago

This is a good idea, will implement it whenever i have time to really work on it again, sorry!