summaryrefslogtreecommitdiff
path: root/packages/integrations/markdoc/test/fixtures/render-html/markdoc.config.ts
blob: 190f271ce75a937a0e1d57738ffd8d16c7fa6617 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 },
			},
		},
	},
})