put the code copy button into the markdown processor

This commit is contained in:
Oleksandr 2025-11-22 09:00:00 +02:00
parent 7f75bba052
commit b9accda035
Signed by: Xanazf
GPG key ID: 821EEC32761AC17C
20 changed files with 176 additions and 211 deletions

View file

@ -7,10 +7,13 @@ export interface Props {
frontmatter: {
title: string;
description?: string;
}
};
}
const { headings, frontmatter: { title, description } } = Astro.props;
const {
headings,
frontmatter: { title, description },
} = Astro.props;
---
<GuideLayout title={title} description={description ?? ""} headings={headings}>
<slot/>