Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gatsby-remark-images doesnt handle imageReferences in md files #11085

Closed
artbycrunk opened this issue Jan 15, 2019 · 0 comments · Fixed by #11086
Closed

gatsby-remark-images doesnt handle imageReferences in md files #11085

artbycrunk opened this issue Jan 15, 2019 · 0 comments · Fixed by #11086
Assignees

Comments

@artbycrunk
Copy link
Contributor

Description

When images are referenced in markdown files, remark images doesnt process them,
example syntax that doesnt work

[header]: header.jpg "Logo Title Text 2"

![alt text][header]

Expected result

Remark images should lookup the reference definition to find the image url and process it like a standard image.

Actual result

The reference image node is ignored.

Environment

System:
OS: Windows 10
CPU: (8) x64 Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
Binaries:
Yarn: 1.13.0 - C:\Users\Savio\AppData\Roaming\npm\yarn.CMD
npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: 42.17134.1.0
npmPackages:
gatsby: 2.0.40 => 2.0.40
gatsby-image: 2.0.19 => 2.0.19
gatsby-plugin-catch-links: 2.0.6 => 2.0.6
gatsby-plugin-feed: 2.0.9 => 2.0.9
gatsby-plugin-google-analytics: 2.0.7 => 2.0.7
gatsby-plugin-lodash: 3.0.2 => 3.0.2
gatsby-plugin-manifest: 2.0.7 => 2.0.7
gatsby-plugin-nprogress: 2.0.6 => 2.0.6
gatsby-plugin-offline: 2.0.12 => 2.0.12
gatsby-plugin-react-helmet: 3.0.1 => 3.0.1
gatsby-plugin-sharp: ^2.0.17 => 2.0.17
gatsby-plugin-sitemap: 2.0.2 => 2.0.2
gatsby-plugin-twitter: 2.0.7 => 2.0.7
gatsby-remark-autolink-headers: 2.0.10 => 2.0.10
gatsby-remark-copy-linked-files: 2.0.6 => 2.0.6
gatsby-remark-images: 2.0.6 => 2.0.6
gatsby-remark-prismjs: 3.0.3 => 3.0.3
gatsby-remark-responsive-iframe: 2.0.6 => 2.0.6
gatsby-source-filesystem: 2.0.7 => 2.0.7
gatsby-transformer-remark: 2.1.11 => 2.1.11
gatsby-transformer-sharp: 2.1.8 => 2.1.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants