Skip to content

Commit 17d16c3

Browse files
committed
Docs: Fix incorrect link to Emoji class
[ci skip]
1 parent e5a5ddc commit 17d16c3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/concepts/text.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,18 +138,20 @@ The above code will create a text like this:
138138

139139
> Hello, [@fedify@hollo.social](https://hollo.social/@fedify).
140140
141-
### `Emoji`
141+
### [`Emoji`]
142142

143143
*This API is available since BotKit 0.2.0.*
144144

145-
If you put an `Emoji` object (provided by Fedify) inside the interpolation,
146-
it will be rendered as a custom emoji. You usually get `Emoji` objects from
145+
If you put an [`Emoji`] object (provided by Fedify) inside the interpolation,
146+
it will be rendered as a custom emoji. You usually get [`Emoji`] objects from
147147
the `Reaction.emoji` property. For example:
148148

149149
~~~~ typescript
150150
text`Here's a custom emoji: ${reaction.emoji}.`
151151
~~~~
152152

153+
[`Emoji`]: https://jsr.io/@fedify/fedify/doc/~/Emoji
154+
153155
### `URL` object
154156

155157
If you put a `URL` object inside the interpolation, it will be rendered as a

0 commit comments

Comments
 (0)