Closed mstenta closed 1 year ago
Name | Link |
---|---|
Latest commit | be7351b8691d3c476e9603c4fe84902ee656c26e |
Latest deploy log | https://app.netlify.com/sites/gracious-brattain-bdd606/deploys/6468b95d79c84500073c2558 |
Deploy Preview | https://deploy-preview-81--gracious-brattain-bdd606.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
This adds the gatsby-remark-copy-linked-files plugin.
This is necessary for non-image files, which are currently handled for us by the gatsby-remark-images plugin. Notably, the
gatsby-remark-images
mentions thegatsby-remark-copy-linked-files
plugin is necessary for image types that it doesn't handle:The motivation for this PR is so that we can include MP4s in blog posts. I explored the various options and considerations for this in #75.
In the future, we may also want to add the gatsby-remark-videos plugin, which automatically handles/converts/resizes video files similar to the way that
gatsby-remark-images
works. Thegatsby-remark-videos
plugin also mentions the need forgatsby-remark-copy-linked-files
in its docs:So it seems that this plugin (
gatsby-remark-copy-linked-files
) is the standard way to handle copying linked files.I expect that this will work naturally with both our
gatsby-source-filesystem
plugin (which sources files from this repo), and ourgatsby-source-git
plugin (which sources files from remote repos like farmOS-community-blog).