diff --git a/web/app/docs/changelog/page.tsx b/web/app/docs/changelog/page.tsx
index ed6a9307..f3f3140a 100644
--- a/web/app/docs/changelog/page.tsx
+++ b/web/app/docs/changelog/page.tsx
@@ -75,17 +75,24 @@ function parseChangelog(markdown: string): ChangelogVersion[] {
return versions;
}
-function InlineCode({ text }: { text: string }) {
- const parts = text.split(/(`[^`]+`)/g);
+function InlineMarkdown({ text }: { text: string }) {
+ const parts = text.split(/(`[^`]+`|\[[^\]]+\]\([^)]+\))/g);
return (
<>
- {parts.map((part, i) =>
- part.startsWith("`") && part.endsWith("`") ? (
- {part.slice(1, -1)}
- ) : (
- {part}
- )
- )}
+ {parts.map((part, i) => {
+ if (part.startsWith("`") && part.endsWith("`")) {
+ return {part.slice(1, -1)};
+ }
+ const linkMatch = part.match(/^\[([^\]]+)\]\(([^)]+)\)$/);
+ if (linkMatch) {
+ return (
+
+ {linkMatch[1]}
+
+ );
+ }
+ return {part};
+ })}
>
);
}
@@ -115,7 +122,7 @@ export default function ChangelogPage() {