docs(app): add copy markdown button (#4369)

This commit is contained in:
Hugo Richard
2025-06-24 12:11:23 +02:00
committed by GitHub
parent 32dae2e002
commit 9172bb7dc2
5 changed files with 520 additions and 406 deletions

View File

@@ -141,7 +141,7 @@ const communityLinks = computed(() => [{
<MDC v-if="page.description" :value="page.description" unwrap="p" :cache-key="`${kebabCase(route.path)}-description`" />
</template>
<template v-if="page.links?.length" #links>
<template #links>
<UButton
v-for="link in page.links"
:key="link.label"
@@ -154,6 +154,7 @@ const communityLinks = computed(() => [{
<UAvatar v-bind="link.avatar" size="2xs" :alt="`${link.label} avatar`" />
</template>
</UButton>
<PageHeaderLinks />
</template>
</UPageHeader>