From 7bf20f6bb3efccaad78beb0c89c54a43b7746982 Mon Sep 17 00:00:00 2001 From: Nikolas Savvidis Date: Sun, 25 Dec 2022 22:10:44 +0100 Subject: [PATCH] export setLanguageName util --- packages/prettify/src/parser/language.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/prettify/src/parser/language.ts b/packages/prettify/src/parser/language.ts index 560f9b57..8a50933f 100644 --- a/packages/prettify/src/parser/language.ts +++ b/packages/prettify/src/parser/language.ts @@ -2,7 +2,7 @@ import { assign } from '@utils/native'; import { cc, NIL } from '@utils/chars'; import { is } from '@utils/helpers'; import { Language, LanguageNames, Prettify } from 'types/prettify'; -import { prettify } from '@prettify/model'; +import { prettify } from '@prettify/*'; export const lexmap = { markup: 'markup', @@ -50,7 +50,7 @@ export function setLexer (input: string) { } -function setLanguageName (input: string) { +export function setLanguageName (input: string) { if (typeof input !== 'string' || map[input] === undefined) return input.toUpperCase();