diff --git a/gatsby-config.js b/gatsby-config.js index db5bc9258ff..68c3e9519a8 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -131,7 +131,7 @@ module.exports = { resolve: 'gatsby-remark-images', options: { maxWidth: 850, - linkImagesToOriginal: false, + linkImagesToOriginal: true, backgroundColor: 'transparent', disableBgImageOnAlpha: true, }, diff --git a/package.json b/package.json index 892123af4d8..55671e21053 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "@emotion/styled": "^11.3.0", "@mdx-js/mdx": "2.0.0-next.8", "@mdx-js/react": "2.0.0-next.8", - "@newrelic/gatsby-theme-newrelic": "9.10.3", + "@newrelic/gatsby-theme-newrelic": "9.10.4", "@splitsoftware/splitio-react": "^1.2.4", "ansi-colors": "^4.1.3", "cockatiel": "^3.0.0-beta.0", @@ -237,4 +237,4 @@ "bugs": { "url": "https://github.com/newrelic/docs-website/issues" } -} +} \ No newline at end of file diff --git a/src/components/MDXContainer.js b/src/components/MDXContainer.js index d1eecd678a3..ae0af98a969 100644 --- a/src/components/MDXContainer.js +++ b/src/components/MDXContainer.js @@ -1,7 +1,6 @@ import { ExternalLink, Link, - Lightbox, MDXLink, MDX, MarkdownContainer, @@ -53,30 +52,43 @@ const defaultComponents = { } /> ) : ( - - {props.alt - + + + {props.alt + + ), DocTile: (props) => (