Replies: 1 comment
-
|
Had the same issue, answer is here: #567 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there! I'm trying to add an image inline to an mdx page. I'm using
@lekoarts/[email protected].I have the following filestructure:
And
index.mdxhas the following content:Unfortunately, the image doesn't show. I read through the Working with images in MDX, specifically the inline section.
I followed the instructions for
gatsby-plugin-mdxand modified mygatsby-config, but got the errorIdentifier 'GATSBY_COMPILED_MDX' has already been declared. (3:7)when runningyarn develop.I can load the image just fine from
static, but it would be nice to be able to have it take advantage of the gatsby image tooling and wrap it in a div. Though, now that I think about it, writing something like the following probably takes additional steps, right?Anyway, help here is greatly appreciated. thank you!
Beta Was this translation helpful? Give feedback.
All reactions