Skip to content

Commit fafe0d2

Browse files
committed
fix: Restore local image SVG format support
1 parent b5c9904 commit fafe0d2

File tree

5 files changed

+43
-3
lines changed

5 files changed

+43
-3
lines changed
Lines changed: 22 additions & 0 deletions
Loading

example/src/pages/creative_cloud/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Make designer to developer handoffs easy. Find the latest designs and specs and
105105

106106
<TextBlock slots="image, heading, text, links" width="33%" theme="light" isCentered />
107107

108-
![Slack logo](images/slack.png)
108+
![Slack logo](images/trello-mark-blue.svg)
109109

110110
### Slack
111111

packages/gatsby-theme-aio/gatsby-config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,11 @@ module.exports = {
4545
default: require.resolve(`./src/components/MDXFilter/index.js`)
4646
},
4747
rehypePlugins: [require(`rehype-slug`)],
48-
plugins: [`gatsby-remark-images-remote`],
48+
plugins: [`gatsby-remark-copy-linked-files`, `gatsby-remark-images-remote`],
4949
gatsbyRemarkPlugins: [
50+
{
51+
resolve: `gatsby-remark-copy-linked-files`
52+
},
5053
{
5154
resolve: `gatsby-remark-images-remote`,
5255
options: {

packages/gatsby-theme-aio/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
"gatsby-plugin-preact": "^5.0.0",
8383
"gatsby-plugin-react-helmet": "^4.0.0",
8484
"gatsby-plugin-sharp": "^3.0.1",
85+
"gatsby-remark-copy-linked-files": "^3.0.0",
8586
"gatsby-remark-images-remote": "^1.0.0",
8687
"gatsby-source-filesystem": "^3.0.0",
8788
"gatsby-transformer-remark": "^3.0.0",

yarn.lock

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4990,7 +4990,7 @@ cheerio@^0.22.0:
49904990
lodash.reject "^4.4.0"
49914991
lodash.some "^4.4.0"
49924992

4993-
cheerio@^1.0.0-rc.5:
4993+
cheerio@^1.0.0-rc.3, cheerio@^1.0.0-rc.5:
49944994
version "1.0.0-rc.5"
49954995
resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.5.tgz#88907e1828674e8f9fee375188b27dadd4f0fa2f"
49964996
integrity sha512-yoqps/VCaZgN4pfXtenwHROTp8NG6/Hlt4Jpz2FEP0ZJQ+ZUkVDd0hAPDNKhj3nakpfPt/CNs57yEtxD1bXQiw==
@@ -8388,6 +8388,20 @@ gatsby-recipes@^0.11.0:
83888388
xstate "^4.9.1"
83898389
yoga-layout-prebuilt "^1.9.6"
83908390

8391+
gatsby-remark-copy-linked-files@^3.0.0:
8392+
version "3.0.0"
8393+
resolved "https://registry.yarnpkg.com/gatsby-remark-copy-linked-files/-/gatsby-remark-copy-linked-files-3.0.0.tgz#020fb4217a658821350434debd981f7aabaac784"
8394+
integrity sha512-M+zuN3WGM+Y1dOJWmHDj4xQSGhjIpjie2aIceRgCMRKWvMfiOu7IkrQs1e84+avfPAdX9LCbS463k86CCrBRqw==
8395+
dependencies:
8396+
"@babel/runtime" "^7.12.5"
8397+
cheerio "^1.0.0-rc.3"
8398+
fs-extra "^8.1.0"
8399+
is-relative-url "^3.0.0"
8400+
lodash "^4.17.20"
8401+
path-is-inside "^1.0.2"
8402+
probe-image-size "^6.0.0"
8403+
unist-util-visit "^1.4.1"
8404+
83918405
gatsby-remark-images-remote@^1.0.0:
83928406
version "1.0.0"
83938407
resolved "https://registry.yarnpkg.com/gatsby-remark-images-remote/-/gatsby-remark-images-remote-1.0.0.tgz#702b7690ff3c20c7883c888aa3d171c5724e530f"

0 commit comments

Comments
 (0)