Files
AstralRinth/apps/frontend
Alejandro González 8b98087936 fix(blog): resolve relative URLs in Markdown images and links with a fixed base (#4287)
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.
2025-08-29 13:44:03 +00:00
..
2025-05-07 19:08:38 -07:00
2025-05-07 19:08:38 -07:00
2024-07-04 21:46:29 -07:00
2025-08-28 22:11:35 +00:00
2024-07-06 20:57:32 -07:00
2024-07-04 21:46:29 -07:00
2024-07-25 15:49:22 +00:00

Frontend Cover

Modrinth Web Interface

Welcome to the Modrinth Web Interface! This web-based platform is designed for discovering, downloading, and managing Minecraft mods.

If you're not a developer and you've stumbled upon this repository, you can access the web interface on the Modrinth website.

Development

Pre-requisites

Before you begin, ensure you have the following installed on your machine:

Setup

Follow these steps to set up your development environment:

pnpm install
pnpm web:dev

You should now have a development build of the web interface running with hot-reloading enabled. Any changes you make to the code will automatically refresh the browser.