Home / File/ markdoc.config.ts — astro Source File

markdoc.config.ts — astro Source File

Architecture documentation for markdoc.config.ts, a typescript file in the astro codebase. 1 imports, 0 dependents.

File typescript 1 imports

Entity Profile

Dependency Diagram

graph LR
  dbb2dec9_3f03_d4f2_df32_012e7e020c94["markdoc.config.ts"]
  4bbafc49_8177_60b9_fc06_09421d5c26da["config"]
  dbb2dec9_3f03_d4f2_df32_012e7e020c94 --> 4bbafc49_8177_60b9_fc06_09421d5c26da
  style dbb2dec9_3f03_d4f2_df32_012e7e020c94 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { component, defineMarkdocConfig } from '@astrojs/markdoc/config';

export default defineMarkdocConfig({
	nodes: {
		fence: {
			render: component('./src/components/Code.astro'),
			attributes: {
				language: { type: String },
				content: { type: String },
			},
		},
	},
	tags: {
		'marquee-element': {
			render: component('./src/components/CustomMarquee.astro'),
			attributes: {
				direction: {
					type: String,
					default: 'left',
					matches: ['left', 'right', 'up', 'down'],
					errorLevel: 'critical',
				},
			},
		},
	},
})

Dependencies

  • config

Frequently Asked Questions

What does markdoc.config.ts do?
markdoc.config.ts is a source file in the astro codebase, written in typescript.
What does markdoc.config.ts depend on?
markdoc.config.ts imports 1 module(s): config.
Where is markdoc.config.ts in the architecture?
markdoc.config.ts is located at packages/integrations/markdoc/test/fixtures/render-with-indented-components/markdoc.config.ts (directory: packages/integrations/markdoc/test/fixtures/render-with-indented-components).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free