Home / Function/ remarkExamplePlugin() — astro Function Reference

remarkExamplePlugin() — astro Function Reference

Architecture documentation for the remarkExamplePlugin() function in astro-markdown-plugins.test.js from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  93d9c7d2_370c_5781_2db4_fb31bce950ec["remarkExamplePlugin()"]
  a3b948f7_bd67_8907_2296_e4b82b503528["astro-markdown-plugins.test.js"]
  93d9c7d2_370c_5781_2db4_fb31bce950ec -->|defined in| a3b948f7_bd67_8907_2296_e4b82b503528
  style 93d9c7d2_370c_5781_2db4_fb31bce950ec fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/test/astro-markdown-plugins.test.js lines 23–30

function remarkExamplePlugin() {
	return (tree) => {
		tree.children.push({
			type: 'paragraph',
			children: [{ type: 'text', value: 'Remark plugin applied!' }],
		});
	};
}

Subdomains

Frequently Asked Questions

What does remarkExamplePlugin() do?
remarkExamplePlugin() is a function in the astro codebase, defined in packages/astro/test/astro-markdown-plugins.test.js.
Where is remarkExamplePlugin() defined?
remarkExamplePlugin() is defined in packages/astro/test/astro-markdown-plugins.test.js at line 23.

Analyze Your Own Codebase

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

Try Supermodel Free