UNPKG

vue-renderer-markdown-monaco

Version:

A Vue 3 component that renders Markdown string content as HTML, supporting custom components and advanced markdown features.

16 lines 613 B
/** * @module detect * (Language detector) */ /** * Supported language identifiers */ export type CodeLanguage = 'bash' | 'html' | 'http' | 'js' | 'ts' | 'py' | 'sql' | 'pl' | 'lua' | 'make' | 'uri' | 'css' | 'diff' | 'md' | 'docker' | 'xml' | 'c' | 'rs' | 'go' | 'java' | 'asm' | 'json' | 'yaml' | 'toml' | 'mermaid' | 'plain'; /** * Try to find the language the given code belongs to * * @param {string} code The code to analyze * @returns {CodeLanguage} The detected language of the code */ export declare function detectLanguage(code: string): CodeLanguage; //# sourceMappingURL=code.detect.d.ts.map