These changes add a layered hook to the `markdown-it` renderer rules to resolve `<img>` element `src` attributes and `<a>` element `href` attributes to a path-absolute relative URL, to ensure that such URLs always point to the same resource URL even when the URL the current resource is being viewed from changes. This fixes an issue with relative links and image source URLs being broken when a blog post was watched from a URL that lacked a trailing slash, as web browsers adjust the path relative URLs are resolved from depending on whether such character is present, and we didn't account for that. While at it, I've rebuilt all the blog posts and their associated RSS feed.
Modrinth Monorepo
Welcome to the Modrinth Monorepo, the primary codebase for the Modrinth web interface and app. It contains lines of code and has
contributors!
If you're not a developer and you've stumbled upon this repository, you can access the web interface on the Modrinth website and download the latest release of the app here.
Development
This repository contains two primary packages. For detailed development information, please refer to their respective READMEs:
Contributing
We welcome contributions! Before submitting any contributions, please read our contributing guidelines.
If you plan to fork this repository for your own purposes, please review our copying guidelines.
Security
If you discover a security vulnerability within our codebase, please follow our responsible disclosure guidelines.
Support
If you need help with the Modrinth web interface or app, please visit our support page. For general inquiries, you can also join our Discord server.
License
All packages in this repository are licensed under their respective licenses. Refer to the LICENSE file in each package for more information.
