akashpal-21 / org-roam-utilities

Some utilities to use alongside org-roam
GNU General Public License v3.0
1 stars 1 forks source link

don't hard code faces #5

Closed dmgerman closed 2 months ago

dmgerman commented 2 months ago

(propertize (org-roam-node-title node) 'face 'bold))))

would it no better to define a face for this purpose instead of hardcoding it?

akashpal-21 commented 2 months ago

Yes - but I intend it to be altered by the user, it is just an example that I use - I always have this face for it so I never required to define a face for it.

I intend that the entire function of display template be customised by the user - so its not hardcored at all. Think of the function as a variable.