summaryrefslogtreecommitdiff
path: root/packages/integrations/markdoc/test/fixtures/render-null/markdoc.config.mjs
blob: 2f87f6de0bc1344c52d41022fe27376a298980bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { defineMarkdocConfig } from '@astrojs/markdoc/config';

export default defineMarkdocConfig({
	nodes: {
		document: {
			render: null,

			// Defaults from `Markdoc.nodes.document`
			children: [
				'heading',
				'paragraph',
				'image',
				'table',
				'tag',
				'fence',
				'blockquote',
				'comment',
				'list',
				'hr',
			],
			attributes: {
				frontmatter: { render: false },
			},
		}
	}
})