feat: add Markdown cut link to footer and page for improved accessibility

This commit is contained in:
Dries Augustyns
2026-05-12 08:07:57 +02:00
parent 649bbf6d6b
commit ccd516e4e8
2 changed files with 20 additions and 1 deletions
+7
View File
@@ -26,6 +26,13 @@ export default async function Page(props: {params: Promise<{slug?: string[]}>})
markdownUrl={`/llms.mdx${page.url}`}
githubUrl={`https://github.com/useplunk/plunk/blob/next/apps/wiki/content/docs/${page.path}`}
/>
<p className="ml-auto hidden text-[11px] text-fd-muted-foreground sm:block">
Reading this with electronic eyes? Add{' '}
<a href={`${page.url}.md`} className="underline decoration-dotted underline-offset-2 transition hover:text-fd-foreground">
<code>.md</code>
</a>{' '}
for the Markdown cut.
</p>
</div>
<DocsBody>