hexo-util
Version:
Utilities for Hexo.
16 lines (15 loc) • 365 B
TypeScript
interface Options {
autoDetect?: boolean;
caption?: string;
firstLine?: number;
gutter?: boolean;
hljs?: boolean;
lang?: string;
languageAttr?: boolean;
mark?: number[];
tab?: string;
wrap?: boolean;
stripIndent?: boolean;
}
declare function highlightUtil(str: string, options?: Options): string;
export = highlightUtil;