MCPcopy Create free account
hub / github.com/nodejs/nodejs.org / getLanguageDisplayName

Function getLanguageDisplayName

packages/rehype-shiki/src/index.mjs:78–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76];
77
78export const getLanguageDisplayName = language =>
79 getLanguageByName(language, LANGS)?.displayName ?? language;
80
81/**
82 * Creates and configures a syntax highlighter

Callers 1

MDXCodeBoxFunction · 0.90

Calls 1

getLanguageByNameFunction · 0.90

Tested by

no test coverage detected