MarkupPreprocessor Type — svelte Architecture
Architecture documentation for the MarkupPreprocessor type/interface in public.d.ts from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 4cb4e563_7182_1fcd_d9f9_9146ac6b12c4["MarkupPreprocessor"] 4b68a954_7c34_7bb2_fbf3_5c16d3cdab6f["public.d.ts"] 4cb4e563_7182_1fcd_d9f9_9146ac6b12c4 -->|defined in| 4b68a954_7c34_7bb2_fbf3_5c16d3cdab6f style 4cb4e563_7182_1fcd_d9f9_9146ac6b12c4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/compiler/preprocess/public.d.ts lines 27–36
export type MarkupPreprocessor = (options: {
/**
* The whole Svelte file content
*/
content: string;
/**
* The filename of the Svelte file
*/
filename?: string;
}) => Processed | void | Promise<Processed | void>;
Source
Frequently Asked Questions
What is the MarkupPreprocessor type?
MarkupPreprocessor is a type/interface in the svelte codebase, defined in packages/svelte/src/compiler/preprocess/public.d.ts.
Where is MarkupPreprocessor defined?
MarkupPreprocessor is defined in packages/svelte/src/compiler/preprocess/public.d.ts at line 27.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free