1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- import { Theme } from './theme';
- export interface HighlightOptions {
-
- language?: string;
-
- ignoreIllegals?: boolean;
-
- 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';
|