Skip to content

Commit

Permalink
Under the highlight key
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondfrancis committed Aug 19, 2021
1 parent 0dd32ea commit a9deafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a9deafc

Please sign in to comment.