diff --git a/src/commands/highlight.js b/src/commands/highlight.js index 35b1db9..d928bba 100644 --- a/src/commands/highlight.js +++ b/src/commands/highlight.js @@ -154,7 +154,7 @@ function highlight(torchlight, source) { * @return {string} */ function decipherLanguage($pre) { - let custom = torchlight.config('decipherLanguageFromElement') + let custom = torchlight.config('highlight.decipherLanguageFromElement') // Let the developer add their own deciphering mechanism. if (custom) {