Files
raucao 7872a1a0eb Turn @usernames into Discourse user mentions/links
No notifications are sent for appearing in a journal, but profile
popovers etc. all work like mentions anywhere else in a topic.
2026-09-27 13:50:17 +02:00

12 lines
233 B
Plaintext

import { userPath } from "discourse/lib/url";
const HledgerMention = <template>
<a
class="mention"
data-user-card={{@username}}
href={{userPath @username}}
>{{@text}}</a>
</template>;
export default HledgerMention;