Files
AstralRinth/packages/blog/compiled/modrinth_beta.content.ts
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

3 lines
1.6 KiB
TypeScript

// AUTO-GENERATED FILE - DO NOT EDIT
export const html = `<p>After six months of work, Modrinth enters Beta, helping modders host their mods with ease!</p><p>Six months ago, in order to fill a void in the modding community, the project that would eventually become Modrinth was founded. Modrinth was created to bring change to an otherwise stagnant landscape of hosts. Today, Modrinth enters Beta, a huge step forward for Modrinth!</p><p><img src="/news/article/modrinth-beta/new-design.jpg" alt="Modrinth's brand new design, rolling out with the launch of Beta"></p><blockquote><p>Modrinth's brand new design, rolling out with the launch of Beta</p></blockquote><h2>What's new?</h2><p>If you've checked out Modrinth in the past, here's the main things you'll notice that have changed:</p><ul><li>All new clean and modern design in both light and dark modes</li><li>Mods now display download counts correctly</li><li>Mod information can now be edited in the author Dashboard</li><li>More information can be added to mods</li></ul><h2>What's next?</h2><p>Modrinth is still in beta, of course, so there will be bugs. In the coming weeks and months, we will be prioritizing fixing the issues that currently exist and continue refining the design in areas that are rough.</p><p>If you find any, please report them to the issue tracker: <a href="https://github.com/modrinth/code/issues" rel="noopener nofollow ugc">https://github.com/modrinth/code/issues</a></p><p>If you would like to chat about Modrinth, our discord is open to all here: <a href="https://discord.modrinth.com/" rel="noopener nofollow ugc">https://discord.modrinth.com</a></p>`;