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
It will ignore the language specification and attempt to guess the language instead, probably arriving at some conclusion like "vim" and highlighting the s: in the URL blue (!).
For two years, mkdocs has supported disabling highlight.js, which is great because highlight.js insists on guessing the code language, ignoring the user's explicit direction, and guesses something silly, as in the example above. In all built-in mkdocs themes, you can do:
In the windmill theme, try writing a page containing the following code block:
It will ignore the language specification and attempt to guess the language instead, probably arriving at some conclusion like "vim" and highlighting the
s:
in the URL blue (!).For two years, mkdocs has supported disabling highlight.js, which is great because highlight.js insists on guessing the code language, ignoring the user's explicit direction, and guesses something silly, as in the example above. In all built-in mkdocs themes, you can do:
Please add support for this to windmill.
To see how mkdocs did it for their themes, check out, for example, this PR.
Thanks!
The text was updated successfully, but these errors were encountered: