seanlowe / obsidian-timelines

Create a timeline view of all notes with the specified combination of tags
https://seanlowe.github.io/obsidian-timelines/
MIT License
39 stars 2 forks source link

Custom attributes on timeline nodes #63

Open tomatau opened 1 week ago

tomatau commented 1 week ago

I'd like to be able to attach custom attributes to the nodes that are rendered so that I can target them for custom styling. Such as adding a specific coloured border or underline or something.

Either className ordata-* should be enough.

This could also be a hook for custom JavaScript that targets nodes.

This is most valuable to me in the horizontal view as there is less information displayed and visual indicators could add a lot.

Also, I see mention of the swimlanes for grouping items - that would be rad too