RE: https://example.viii.fi/posts/6a8ec2be-567d-23d9-a555-676b88d3d369.json
I need to work out what format HTML Mastodon needs to render profile fields properly.
Specifically hashtags and mentions.
Anyone know?
#MastodonAPI
Discussion
RE: https://example.viii.fi/posts/6a8ec2be-567d-23d9-a555-676b88d3d369.json
I need to work out what format HTML Mastodon needs to render profile fields properly.
Specifically hashtags and mentions.
Anyone know?
#MastodonAPI
@Edent these aren't actually standard features like in posts. But many clients support them anyway, yeah. For mentions, it's enough to just make a link (<a>) to the target actor, and hashtags work like this:
<a href="https://mastodon.social/tags/smithereen" class="mention hashtag" rel="tag">#<span>smithereen</span></a>, the other server will rewrite the URL to its own domain
@grishka no, I'm not talking about posts. I'm talking about Profile Fields.
Using the same syntax as in posts doesn't appear to work.
@Edent ah. For some reason I thought you were talking about profile descriptions, it does work in those. That hashtag syntax does appear to work for me in fields as well though (mastodon.social rewrites the URL to its own domain here)