ShikiHighlighter Type — astro Architecture
Architecture documentation for the ShikiHighlighter type/interface in shiki.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 1d9168d4_6de6_010a_9874_5bffad16735f["ShikiHighlighter"] 0572c3f9_5381_3e68_d189_656005cca490["shiki.ts"] 1d9168d4_6de6_010a_9874_5bffad16735f -->|defined in| 0572c3f9_5381_3e68_d189_656005cca490 style 1d9168d4_6de6_010a_9874_5bffad16735f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/markdown/remark/src/shiki.ts lines 17–28
export interface ShikiHighlighter {
codeToHast(
code: string,
lang?: string,
options?: ShikiHighlighterHighlightOptions,
): Promise<Root>;
codeToHtml(
code: string,
lang?: string,
options?: ShikiHighlighterHighlightOptions,
): Promise<string>;
}
Defined In
Source
Frequently Asked Questions
What is the ShikiHighlighter type?
ShikiHighlighter is a type/interface in the astro codebase, defined in packages/markdown/remark/src/shiki.ts.
Where is ShikiHighlighter defined?
ShikiHighlighter is defined in packages/markdown/remark/src/shiki.ts at line 17.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free