CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes45downloads
index.d.ts23 linesDownload Raw Back to lowlight
1export type {LanguageFn} from 'highlight.js'2export type {AutoOptions, Options} from './lib/index.js'3export {grammars as all} from './lib/all.js'4export {grammars as common} from './lib/common.js'5export {createLowlight} from './lib/index.js'6 7// Register data on hast.8declare module 'hast' {9  interface RootData {10    /**11     * Field exposed by `lowlight` to contain the detected programming language12     * name.13     */14    language?: string | undefined15 16    /**17     * Field exposed by `lowlight` to contain a relevance: how sure `lowlight`18     * is that the given code is in the language.19     */20    relevance?: number | undefined21  }22}23 
basant307/AI_Governance_Project · CoolFace