NotePlan
NotePlan
May 7

Modify rendering of tags and mentions (custom theme?)

I have people and tags in categories, so I may have `@client_name/person_name`, or `#client_name/project_name`. The tags and mentions are already highlighted. It would be cleaner to hide the # or @ unless the cursor is on the name, like with headers. I would also love the option to hide the nesting, so `@client_name/person_name` just renders as `person_name` but with highlighting, and the same with `#client/project` -> `project`.
PendingPending

May 8, 2021

As Jonathan Clark and Rob Grace mentioned, it's 100% a theming case and can be done probably even today. I'm not sure if this should be a default for everyone.

May 8, 2021

Eduard Metzger: I took a look at the regexes for this and for someone with a lot of regex experience I found them a bit impenetrable! I'll have a go at hacking on something. Thanks!

May 7, 2021

At a first glance I would think much of this is possible using the theming system that was added a couple of months ago. I suggest you ask on the themes discord channel. Let me know if you need a link.

May 7, 2021

Jonathan Clark: you beat me to it! Hiding the "@" or "#" might not be popular with some users, but I like the idea of hiding all but the last term in a nested series @no/no/no/YES ==> @YES Space is precious on mobile. A custom theme could give the OP exactly what he wants