mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
19 lines
398 B
TypeScript
19 lines
398 B
TypeScript
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 },
|
|
},
|
|
},
|
|
mark: {
|
|
render: component('./src/components/Mark.astro'),
|
|
attributes: {
|
|
color: { type: String },
|
|
},
|
|
},
|
|
},
|
|
})
|