-
During try {
// ![](https://invalid-image.com)
const image = await fetch(token.href)
} except {
token.text = 'link'
token.type = 'link' // Something like this, however it doesn't seen to work when I do this
// [link](https://invalid-image.com)
} |
Beta Was this translation helpful? Give feedback.
Answered by
UziTech
Oct 4, 2024
Replies: 1 comment 3 replies
-
That will work but link has sub tokens in So it will have to be something like
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
spifory
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That will work but link has sub tokens in
token.tokens
that the parser uses to render the text.So it will have to be something like