logseq-reference-styles icon indicating copy to clipboard operation
logseq-reference-styles copied to clipboard

Consider applying styles to matching tags, not just brackets

Open phoebejaffe opened this issue 3 years ago • 1 comments

rumurphy: "I typically use [the plugin] # for tags and not [[]]. Brackets work. Any chance able to apply stying to # style tags?" benjaffe: "I'll look into applying it to tags, but no promises. It depends on if the appropriate data attributes are applied by Logseq so I can hook into them."

phoebejaffe avatar Mar 11 '22 03:03 phoebejaffe

Applying to tags is quite simple by using CSS using the below tag, would be even nicer to have this maintainable for this plug-in. a.tag[data-ref=mytag]:before { content: '📆'; } Did logseq provide the "required hook" you mentioned?

emms007 avatar Aug 01 '22 16:08 emms007