md2cwm
Version:
markdown to Confluence Wiki Markup
14 lines (13 loc) • 424 B
TypeScript
export declare type LanguageMap = Record<string, string>;
export declare type CodeBlockOptions = {
options?: Record<string, string | boolean>;
get?: (lang: string) => Record<string, string | boolean>;
[K: string]: any;
};
export interface UserDefinedOptions {
codeBlock?: {
languageMap?: LanguageMap;
options?: CodeBlockOptions;
};
renderer?: Record<string, Function>;
}