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

Inline Markdown Image code not working #52

Open
geekmj opened this issue Oct 18, 2020 · 2 comments
Open

Inline Markdown Image code not working #52

geekmj opened this issue Oct 18, 2020 · 2 comments

Comments

@geekmj
Copy link

geekmj commented Oct 18, 2020

This is a very nice Gatsby Digital Garden theme and I am able to set it very quickly and even able to set up syntax highlighting with the given instruction.

However, I am not able to figure out how to insert an inline image using markdown syntax.

gatsby-config.js

module.exports = {
  plugins: [
    {
      resolve: `gatsby-theme-garden`,
      options: {
        contentPath: `${__dirname}/content/`,
        rootNote: `/home`,
      },  
    },
  ],
  siteMetadata: {
    title: `Mrityunjay's Digital Garden`,
  },
}

I kept one png file - /content/assets/anlineimage.png

I am referring to it in a file - /content/home.md

home.md

## Image test

![An Image](assets/anlineimage.png)

However when the page renders it is not showing an inline-image. I know I am missing something because gatsby generated public doesn't contain the png file at all.

I will really appreciate any help here. Thank you.

@aadimator
Copy link
Contributor

Hey @geekmj, did you figure out the issue or find a solution for this?

@WaytrueDeng
Copy link

the same here

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

No branches or pull requests

3 participants