astro/examples/with-markdoc/markdoc.config.mjs
2023-09-16 09:12:23 +01:00

13 lines
279 B
JavaScript

import { component, defineMarkdocConfig } from '@astrojs/markdoc/config';
export default defineMarkdocConfig({
tags: {
aside: {
render: component('./src/components/Aside.astro'),
attributes: {
type: { type: String },
title: { type: String },
},
},
},
});