logseq-style-tweaks
logseq-style-tweaks copied to clipboard
Referencing people as page instead of tag does not render correctly
I mark people like so
[[@/Name Surname]]
I got this idea from here.
As far as I can tell (I am fairly new to Logseq) this is a nicer way to to mark people because
- the hierarchy will list all people and there is automatically a page with all people
- it is just a little shorter to type than
#[[@/Name Surname]]
(I am forced to use the[[
]]
when there is whitespace in a tag right?)
Would it be possible to change the plugin so that it renders people marked as a page instead as a tag just the same way as when it is marked as a tag?
The CSS selector for it would probably have to look like this:
a.page-ref[data-ref^="@"], .dark-theme a.page-ref[data-ref^="@"]
Additionally, when the above CSS is applied, what looks a bit ... weird is the page hierarchy list, but I don't know if this can be fixed with css somehow. I wouldn't even know how it could look cool.