Does this support co-locating images from the same folder as the blog?
See original GitHub issueI loved the next-mdx-remote
API but I wasn’t able to keep my images co-located as my blog posts.
See this for more info → https://stackoverflow.com/questions/63957018/how-to-use-images-in-a-mdx-file-outside-of-public-folder-while-using-next
Does mdx-bundler
support it?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:23 (2 by maintainers)
Top Results From Across the Web
How to add an image to a blog post page - Support - Zola
I'm trying it with the image colocated with my blog's markdown file, but ideally I think I'd like images separated into folders for...
Read more >Colocation - Kent C. Dodds
To help enable a more maintainable codebase, we should co-locate our tests files with the file or group of files they are testing....
Read more >Overview - Zola
Asset colocation. The content directory is not limited to markup files. It's natural to want to co-locate a page and some related assets,...
Read more >Add images & videos to your blog - Blogger Help
You can add photos, videos, and other images to your blog posts. When you add images to your blog, they're stored in a...
Read more >Colocation Explained - GlobalDots
A colocation centre (also spelled co-location, or colo) or “carrier hotel”, is a type of data centre where equipment, space, and bandwidth are...
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
@karlhorky of course!
I’ve written it up here: https://www.arcath.net/2021/04/images-with-mdx-bundler
It over-writes as far as I am aware, each call to
bundleMDX
is unaware of what the previous runs have returned.Personally I set the cwd, outdir, and public path per post so there is no chance of collisions with other builds.
I have post in the works about it that should be going out this evening.