summaryrefslogtreecommitdiff
path: root/examples/with-markdoc/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-markdoc/src/components')
-rw-r--r--examples/with-markdoc/src/components/DocsContent.astro32
1 files changed, 0 insertions, 32 deletions
diff --git a/examples/with-markdoc/src/components/DocsContent.astro b/examples/with-markdoc/src/components/DocsContent.astro
deleted file mode 100644
index 162c1fc6d..000000000
--- a/examples/with-markdoc/src/components/DocsContent.astro
+++ /dev/null
@@ -1,32 +0,0 @@
----
-import Aside from './Aside.astro';
-import type { CollectionEntry } from 'astro:content';
-
-type Props = {
- entry: CollectionEntry<'docs'>;
-};
-
-const { entry } = Astro.props;
-const { Content } = await entry.render();
----
-
-<Content
- components={{
- // Pass a mapping from the component name
- // To an Astro or UI component import
- // See your `astro.config.mjs` for
- // for the Markdoc tag mapping
- Aside,
- }}
-/>
-
-<style is:global>
- table {
- margin-block: 2rem;
- margin-inline: auto;
- }
- table td {
- padding-block: 0.3rem;
- padding-inline: 0.5rem;
- }
-</style>