aboutsummaryrefslogtreecommitdiff
path: root/examples/with-markdoc/markdoc.config.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-markdoc/markdoc.config.mjs')
-rw-r--r--examples/with-markdoc/markdoc.config.mjs13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/with-markdoc/markdoc.config.mjs b/examples/with-markdoc/markdoc.config.mjs
new file mode 100644
index 000000000..90608d564
--- /dev/null
+++ b/examples/with-markdoc/markdoc.config.mjs
@@ -0,0 +1,13 @@
+import { defineMarkdocConfig, component } from '@astrojs/markdoc/config';
+
+export default defineMarkdocConfig({
+ tags: {
+ aside: {
+ render: component('./src/components/Aside.astro'),
+ attributes: {
+ type: { type: String },
+ title: { type: String },
+ },
+ },
+ },
+});