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
This is not an issue that needs fixing, posting it here for others in case they search for it. If this is inappropriate, please let me know so I can close this and avoid doing it in the future.
After #804, calling serve(..., prerender=true) can fail if your system's highlight.js is out of date. You may get an error like:
Could not find the language '<large amount of code here>', did you forget to load/include a language module?
For example,
Could not find the language 'abstract type A{T} end\nstruct B{T} <: A{T} end', did you forget to load/include a language module?
This is caused by an outdated system highlight.js, which can be updated by npm update highlight.js. Changing the highlight.pack.js in your site's __libs directory to be 10.7+ does not resolve this issue.
This is not an issue that needs fixing, posting it here for others in case they search for it. If this is inappropriate, please let me know so I can close this and avoid doing it in the future.
After #804, calling
serve(..., prerender=true)
can fail if your system's highlight.js is out of date. You may get an error like:For example,
This is caused by an outdated system highlight.js, which can be updated by
npm update highlight.js
. Changing thehighlight.pack.js
in your site's__libs
directory to be 10.7+ does not resolve this issue.The root cause is an updated API for highlight's rendering. See highlightjs/highlight.js#2277.
The text was updated successfully, but these errors were encountered: