question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does not process images in `.md` files

See original GitHub issue

I’m working on an upgrade to astro 1.0.1, and find that my images in markdown files which were using normal markdown image syntax ([]()) are no longer being converted to <picture> elements.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

3reactions
ChauhanTcommented, Aug 13, 2022

Hi, this is more of an astro issue. In the stable release, they want the user to dump the entire website in a single src directory - basically you can’t separate out code and content any more. If you are not using a CMS, which many small website creators/maintainers don’t, this is not good news.

I have a plugin that provides a solution here: https://gitlab.com/public-repositories/remark-astro-markdown-local-images .

I would rather this become core functionality though, rather than needing a plugin - as it shows an intention to prefer infrastructures for big websites over developers who run smaller websites.

0reactions
stephanbognercommented, Dec 23, 2022

@ChauhanT Thanks for sharing your solution with us ❤️

In case it helps someone (e.g. @eur2): I wrote here I got it to work

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to view images from the body of a Markdown file in ...
I can view the images from the frontmatter using GraphQL queries but unable to view the body inline images in the markdown file....
Read more >
GitHub ReadMe.md Showing Some Images but not Others
So I was working on a little personal project with lots of pretty graphs in Jupyter Notebook. I made a .ipynb markdown file...
Read more >
gatsby-remark-images
Name Default Description showCaptions false quality 50 The quality level of the generated files.
Read more >
Media
These files are automatically found and processed by Grav and are made available to use by ... Do not put your own images...
Read more >
Keep images & content together - feature - HUGO
I can't see any other way than to use absolute path to reference the content that lies just next to my .md file....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found