Open Sanqui opened 2 years ago
@Sanqui sorry for the (very) late reply, I've finally got the time and motivation to work on this plugin some more.
Can you expand on this? What exactly is your usecase here? I'm trying to understand how this fits with the purpose of this plugin. The idea here is that CSS classes can be applied automatically based on a specific tag or path; I feel like another plugin might serve your usecase better, something that adds a CSS class to the yaml frontmatter whenever a tag is added, or something along those lines.
The idea is, if CSS classes are useful for styling, right? So if I want to do something like, change the background of my daily notes, I would need to give them a class. And my daily notes already have a #daily
tag, so why should I jump through the hoop of specifying "yes, I want pages tagged #daily
to have the class daily
"? I guess I'm not sure why you would want to ever apply a different class, that would just add a layer of confusion in my opinion. So currently I have #person
set to have the tag-person
class, #project
to have #tag-project
, task
to have tag-class
, etc. But this is a lot of manual work that felt pointless But maybe you have a different idea with this plugin, in which case I should make my own. :smile:
Hey, love the plugin, but hate the busywork! I would love it if whenever I add any tag, like
#test
, to a note, it gets corresponding class liketag-test
. Otherwise I have to do it manually for 10s of tags :(