Support collocated images
See original GitHub issueHi. I am using docusaurus v2. While everything works great, trailing slash is breaking images.
I have a markdown syntax like this where I am storing myimage in the same folder as the markdown file
[![IMAGE ALT TEXT](./myimage.png)](https://www.example.com "My Image description")
It fails because of the trailing slash. If I fix in the website by maybe adding ../
it will not render in Github. Is there any way to make it work both in Github and the website as well?
Screenshot below:
Directory structure:
I guess the same path logic you guys are using for generating html out of .md
and rewriting paths can be used for images as well.
Thanks in advance.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
3,417 Collocation Images, Stock Photos & Vectors | Shutterstock
Find Collocation stock images in HD and millions of other royalty-free stock photos, illustrations and vectors in the Shutterstock collection.
Read more >imgpkg image collocation and tagging
Finding if an image is already present in the destination repository is complicated. Registries like gcr.io support paths in their repositories ...
Read more >Learning to Collocate Neural Modules for Image Captioning
We develop several techniques for effective module collo- cation training in partially observed sentences. • Experiment results show that significant ...
Read more >Stack or Collocation - snap - STEP Forum
Which one is better to merge S1+S2 images? Stack from radar tools or collocation from raster tools? I have found that both methods...
Read more >(PDF) Mobiphos: a collocated-synchronous mobile photo ...
tion, Mobiphos, designed to support collocated–synchronous photo. capture and sharing. Mobiphos gives a group of collocated users.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey all, this is feature is now released! If you like it, don’t forget to retweet 😄 https://twitter.com/docusaurus/status/1286715187983048704
Hi,
Currently we don’t support well using relative md images, so it’s hard to support both github + website at the same time.
This is something I want to solve in https://github.com/facebook/docusaurus/issues/3057