123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- import { Theme } from './theme';
- export interface HighlightOptions {
-
- language?: string;
-
- ignoreIllegals?: boolean;
-
- continuation?: any;
-
- languageSubset?: string[];
-
- theme?: Theme;
- }
- export declare function highlight(code: string, options?: HighlightOptions): string;
- export declare function listLanguages(): string[];
- export declare function supportsLanguage(name: string): boolean;
- export default highlight;
- export * from './theme';
|