You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If no language is specified on a source block, and the source-highlighter attribute is set to highlight.js, the highlight.js emits the following warning into the browser console:
Could not find the language 'none', did you forget to load/include a language module?
Falling back to no-highlight mode for this block.
Here's an example:
[source]
----
no lang
----
The warning happens because the language none is not mapped to plaintext. To fix it, either add the mapping for none or don't pass blocks with the language none to highlight.js.
The text was updated successfully, but these errors were encountered:
If no language is specified on a source block, and the
source-highlighter
attribute is set tohighlight.js
, the highlight.js emits the following warning into the browser console:Here's an example:
The warning happens because the language
none
is not mapped toplaintext
. To fix it, either add the mapping fornone
or don't pass blocks with the languagenone
to highlight.js.The text was updated successfully, but these errors were encountered: