/** * Nunjucks extension that supports rendering highlighted content. Content that is placed in * between a {% highlight %} and {% end_highlight %} block will be automatically highlighted. * * HighlightJS cannot detect the code language automatically. Therefore, developers need to * specify the language manually as first tag-block argument. */ export declare class HighlightNunjucksExtension { /** Tags that will be parsed by this Nunjucks extension. */ tags: string[]; /** Disable autoescaping for content that is rendered within this extension. */ autoescape: boolean; parse(parser: any, nodes: any): any; render(_context: any, language: string, contentFn: () => string): string; } /** * Transforms a given code block into its corresponding HTML output. We do this using * highlight.js because it allows us to show colored code blocks in our documentation. */ export declare function highlightCodeBlock(code: string, language: string): string;