Example blog doesn't support local resources
If adding the following content to examples/react-app-blog/content/posts:
sixth-post/
pic.png
index.md # article content that references 
- ~~The "latest posts" page lists both the article and a
sixth-post/pic.pngpost.~~- I solved this by removing the
phenomicentry inpackage.jsonand creating aphenomic.config.jsfile with:module.exports = { content: { content: { root: "content", globs: ["**/*.md"] }, }, presets: ["@phenomic/preset-react-app"], }
- I solved this by removing the
- The image is not copied anywhere.
- The image in the post is broken.
I feel like I'm missing something akin to gatsby-remark-copy-images and gatsby-remark-copy-linked-files, but not sure exactly what…
This need to be improved indeed. Nothing is made to copy this files. Multiple solutions could be done. We should think about the easy one that does not cause performance trouble (eg does not check path in markdown ast as it will be expensive but instead just copy some given files)
does not check path in markdown ast as it will be expensive
But shouldn't those resources be in the page's bundle? 🤔
That can make things heavy if each md files as tons of images... we should offers this as an option as it s ok for small site but this won’t scale for big project...