Repository navigation
Unable to fetch images #44
Answered
by
RDIL
LakshmiLavanyaKasturi
asked this question in
Q&A
|
I am trying to fetch images from my remote repository along with markdown files. Markdown files are fetched without any problem. However images are not fetched correctly. Here is a sample of my plugin options: The code is pushed to this repo here https://github.com/LakshmiLavanyaKasturi/docs-1/tree/docusaurus-plugin . I saw the question on #43 but could not follow how to give this in the face of an image. Also could not follow the discussion on the https://axios-http.com/docs/req_config for fetching images. Your help is much appreciated |
Answered by
RDIL
Oct 21, 2022
Replies: 1 comment 1 reply
|
You would need to have 2 instances of the plugin - 1 for markdown, and the other for images. With the images one, you would add |
1 reply
Answer selected by
RDIL
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You would need to have 2 instances of the plugin - 1 for markdown, and the other for images. With the images one, you would add
requestConfig: { responseType: "arraybuffer" }.