Home / Function/ remarkExamplePlugin() — astro Function Reference

remarkExamplePlugin() — astro Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  075dc7cc_a4e6_8d2c_5b09_f1257e6deed8["remarkExamplePlugin()"]
  e8760276_ae78_8548_876c_cdc1c14c40af["mdx-plugins.test.js"]
  075dc7cc_a4e6_8d2c_5b09_f1257e6deed8 -->|defined in| e8760276_ae78_8548_876c_cdc1c14c40af
  style 075dc7cc_a4e6_8d2c_5b09_f1257e6deed8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/integrations/mdx/test/mdx-plugins.test.js lines 234–241

function remarkExamplePlugin() {
	return (tree) => {
		tree.children.push({
			type: 'html',
			value: '<div data-remark-plugin-works="true"></div>',
		});
	};
}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free