20 lines
398 B
TypeScript
20 lines
398 B
TypeScript
|
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 },
|
||
|
},
|
||
|
},
|
||
|
mark: {
|
||
|
render: component('./src/components/Mark.astro'),
|
||
|
attributes: {
|
||
|
color: { type: String },
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
})
|