MCPcopy Create free account
hub / github.com/Hashnode/starter-kit / className

Function className

packages/utils/renderer/highlight.js:327–329  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

325 },
326 computed: {
327 className() {
328 return this.unknownLanguage ? '' : 'hljs ' + this.detectedLanguage;
329 },
330 highlighted() {
331 if (!this.autoDetect && !hljs.getLanguage(this.language))
332 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected