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