()
| 20729 | return this.unknownLanguage ? '' : 'hljs ' + this.detectedLanguage |
| 20730 | }, |
| 20731 | highlighted() { |
| 20732 | if (!this.autoDetect && !s.getLanguage(this.language)) |
| 20733 | return ( |
| 20734 | console.warn( |
| 20735 | `The language "${this.language}" you specified could not be found.` |
| 20736 | ), |
| 20737 | (this.unknownLanguage = !0), |
| 20738 | escapeHTML(this.code) |
| 20739 | ) |
| 20740 | let o = {} |
| 20741 | return ( |
| 20742 | this.autoDetect |
| 20743 | ? ((o = s.highlightAuto(this.code)), (this.detectedLanguage = o.language)) |
| 20744 | : ((o = s.highlight(this.language, this.code, this.ignoreIllegals)), |
| 20745 | (this.detectedLanguage = this.language)), |
| 20746 | o.value |
| 20747 | ) |
| 20748 | }, |
| 20749 | autoDetect() { |
| 20750 | return ( |
| 20751 | !this.language || |
nothing calls this directly
no test coverage detected