Replies: 1 comment 2 replies
-
See https://github.com/orgs/remarkjs/discussions/1321 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm rendering a markdown reply from an AI model and I want to add a typing indicator:
The model gives multiple p and li tags as a the markdown is added to the text - I'm appending a blinking dot as a typing indicator at the end of the message. Is there a way to pass the index to the props of the rendered p and li tags so that I append the blinking dot to the last p or li tag? (Right now it's appending the image to every p and li tags) (my guess was to set the last boolean to that condition but there's no index information in the props)
Beta Was this translation helpful? Give feedback.
All reactions