@rxdi/ui-kit
Version:
UI Components for building graphql-server website
21 lines (20 loc) • 606 B
TypeScript
import './prism';
export declare class MarkdownParserService {
private renderer;
private cache;
private cacheCopy;
constructor();
get getCacheCopy(): Map<string, string[]>;
highlightElements(tags: NodeListOf<HTMLElement>[]): any;
flushCache(): void;
readAndCompile(text: string): string;
fetchMarkdown(link: string): Promise<string>;
fetchDefinitions(link: string): Promise<string>;
private crypto;
private escapeBrackets;
private appendEmptyLine;
private replaceFilename;
private parseSwitcher;
private insertText;
private initParser;
}