Convert markdown image src(s) to be relative for gatsby-remark-images.
The gatsby-remark-relative-images plugin has been designed to streamline the process of managing image paths within a Gatsby project. While there has been a lack of recent maintenance, the tool still serves a vital function, especially for users working with NetlifyCMS. By converting image source paths in Markdown and HTML to be relative to a node’s parent directory, it enhances compatibility with images located outside the node folder, catering specifically to scenarios where absolute paths could create issues.
This plugin simplifies the experience of integrating images in blog posts or other content formats, making it a useful asset for developers dealing with content management systems that require clarity in image handling. As the landscape of web development continues to evolve, this tool offers a temporary yet effective solution until native support for relative paths becomes more standard.
<img />
tags in Markdown/MDX HTML, ensuring a cohesive experience across content.