Home / Function/ markRawChildren() — astro Function Reference

markRawChildren() — astro Function Reference

Architecture documentation for the markRawChildren() function in index.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  e7fbfe6d_7f0a_f81f_4de6_a39dd5c7b5c0["markRawChildren()"]
  c98dc478_4d28_8749_a81d_0a986fd20476["index.ts"]
  e7fbfe6d_7f0a_f81f_4de6_a39dd5c7b5c0 -->|defined in| c98dc478_4d28_8749_a81d_0a986fd20476
  6728f402_33ab_6274_5484_93c0b81615ff["transformSetDirectives()"]
  6728f402_33ab_6274_5484_93c0b81615ff -->|calls| e7fbfe6d_7f0a_f81f_4de6_a39dd5c7b5c0
  style e7fbfe6d_7f0a_f81f_4de6_a39dd5c7b5c0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/jsx-runtime/index.ts lines 53–57

function markRawChildren(child: any): any {
	if (typeof child === 'string') return markHTMLString(child);
	if (Array.isArray(child)) return child.map((c) => markRawChildren(c));
	return child;
}

Domain

Subdomains

Frequently Asked Questions

What does markRawChildren() do?
markRawChildren() is a function in the astro codebase, defined in packages/astro/src/jsx-runtime/index.ts.
Where is markRawChildren() defined?
markRawChildren() is defined in packages/astro/src/jsx-runtime/index.ts at line 53.
What calls markRawChildren()?
markRawChildren() is called by 1 function(s): transformSetDirectives.

Analyze Your Own Codebase

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

Try Supermodel Free