Replies: 1 comment 3 replies
-
You can create a placeholder for your element and do the async request in background. Once you get the response, you can get back to the document and replace the placeholder with your resource. It'll be very similar to |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here is a fragment of Markdown:
The URL may indicate an image/video/audio or resource of other type (maybe a PDF file). When parsing markdown,
remark
can not recognize the resource's mime type since we can not query it via an HTTP request (remark plugin can not do async task). So, If I want to render this online resource correctly, for example, using<video>
element for video resource, What should I do?Beta Was this translation helpful? Give feedback.
All reactions