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
I think this is the same, issue I am having. I can't put any code blocks in with a language. They work if no language is specified but that is not ideal. I'd like the documentation to support highlighting syntax on code blocks. Maybe I am misconfiguring it.
The issue is a combination of how highlighter.js calls hljs.highlightAuto and more critically because remark html is not configured with sanitaze: false, and clean: false
Input code (as a markdown file referenced from documentation.yml):
(I added
\
at the start of ``` lines to get Github Issues to leave them alone).Output documentation:
Expected: either just a regular code block, or ideally, with different syntax highlighting for js/html
Actual: those code blocks are completely missing from output.
Version 13.2.5
Running on CLI:
documentation build -f html -o docs --config documentation.yml --sort-order alpha src/index.js src/utilsGenerated.js
https://github.com/stevage/map-gl-utils/blob/master/package.json#L16
For context: I want the language markers because the same README is also published to NPM and Github.
The text was updated successfully, but these errors were encountered: