MCPcopy Create free account
hub / github.com/fontsource/fontsource / displayLanguage

Function displayLanguage

website/app/components/code/highlight.ts:31–32  ·  view source on GitHub ↗
(language: string)

Source from the content-addressed store, hash-verified

29};
30
31export const displayLanguage = (language: string) =>
32 languageLabels[language] ?? language;
33
34export const highlightLanguage = (language: string) => {
35 const normalized = language.trim().toLowerCase();

Callers 1

CodeWrapperFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected