Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/app / Class

NgDocHighlighterService

Decorators:@Injectable

No documentation has been provided.

Properties

NameTypeDescription
highlighter
HighlighterGeneric<string, string> | undefined
theme
p r
NgDocShikiTheme

Methods

highlight()

No documentation has been provided.

Presentation
highlight(code: string): string;
Parameters
NameTypeDescription
code
string
Returns
string
async

initialize()

No documentation has been provided.

Presentation
async initialize(config?: NgDocHighlighterConfig | undefined): Promise<void>;
Parameters
NameTypeDescription
config
NgDocHighlighterConfig | undefined
Returns
Promise<void>