public function highlightJsLangData(string $lang): array
    {
        if ($lang === 'wp') {
            return [
                'ver'  => $this->cv,
                'deps' => ['highlight-js'],
                'url'  => $this->c::appWsCoreUrl('/client-s/js/hljs/langs/wp.min.js'),
            ];
        }
        return [
            'version' => '9.12.0',
            'deps'    => ['highlight-js'],
            'url'     => '//cdnjs.cloudflare.com/ajax/libs/highlight.js/%1$s/languages/'.urlencode($lang).'.min.js',
        ];
    }
public function highlightJsLangData(string $lang): array
    {
        if ($lang === 'wp') {
            return [
                'ver'  => $this->cv,
                'deps' => ['highlight-js'],
                'url'  => $this->c::appWsCoreUrl('/client-s/js/hljs/langs/wp.min.js'),
            ];
        }
        return [
            'version' => '9.12.0',
            'deps'    => ['highlight-js'],
            'url'     => '//cdnjs.cloudflare.com/ajax/libs/highlight.js/%1$s/languages/'.urlencode($lang).'.min.js',
        ];
    }
public function highlightJsLangData ( string $ lang ) : array { if ( $ lang === 'wp' ) { return [ 'ver' => $ this -> cv , 'deps' => [ 'highlight-js' ] , 'url' => $ this -> c :: appWsCoreUrl ( '/client-s/js/hljs/langs/wp.min.js' ) , ] ; } return [ 'version' => '9.12.0' , 'deps' => [ 'highlight-js' ] , 'url' => '//cdnjs.cloudflare.com/ajax/libs/highlight.js/%1$s/languages/' . urlencode ( $ lang ) . '.min.js' , ] ; }
Highlight.js lang data.

@since 17xxxx Highlight.js libs.

@param string $lang Highlight.js lang.

@return array Library details.
Highlight . js lang data .