normalizePropAsString() — astro Function Reference
Architecture documentation for the normalizePropAsString() function in shiki.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 8120e48c_d15e_d5aa_1bed_233cbe57051f["normalizePropAsString()"] f102b00b_404a_a2b2_3274_44ec121e3e59["shiki.ts"] 8120e48c_d15e_d5aa_1bed_233cbe57051f -->|defined in| f102b00b_404a_a2b2_3274_44ec121e3e59 e4425add_4968_b8d8_e072_fa92e237cb7e["createShikiHighlighter()"] e4425add_4968_b8d8_e072_fa92e237cb7e -->|calls| 8120e48c_d15e_d5aa_1bed_233cbe57051f style 8120e48c_d15e_d5aa_1bed_233cbe57051f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/markdown/remark/src/shiki.ts lines 217–219
function normalizePropAsString(value: Properties[string]): string | null {
return Array.isArray(value) ? value.join(' ') : (value as string | null);
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does normalizePropAsString() do?
normalizePropAsString() is a function in the astro codebase, defined in packages/markdown/remark/src/shiki.ts.
Where is normalizePropAsString() defined?
normalizePropAsString() is defined in packages/markdown/remark/src/shiki.ts at line 217.
What calls normalizePropAsString()?
normalizePropAsString() is called by 1 function(s): createShikiHighlighter.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free