Does not process images in `.md` files
See original GitHub issueI’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:
- Created a year ago
- Reactions:1
- Comments:7
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
@ChauhanT Thanks for sharing your solution with us ❤️
In case it helps someone (e.g. @eur2): I wrote here I got it to work