astro/examples/with-markdoc/markdoc.config.mjs

14 lines
279 B
JavaScript
Raw Permalink Normal View History

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 },
},
},
},
});