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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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