Bug: Building demo with `--no-minify` does not include correct highlight.js
See original GitHub issueWhen building the demo for local testing/debugging without minifying the js
node tools/build.js -t browser --no-minify
copying the demo index.html does not adapt the included highlight.min.js
to use the un-minified version.
Would it be possible to make this dynamic so that building and testing work out of the box even for the un-minified version?
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
How to use highlight.js
You can get highlight.js as a hosted, or custom-build, browser script or as a server module. Right out of the box the browser...
Read more >Weird Bug with Highlight.js - Perishable Press
The bug is that Highlight.js is applying syntax highlighting, even when the element does not include the required language- class.
Read more >269 contributors - GitHub
JavaScript syntax highlighter with language auto-detection and zero dependencies. - highlight.js/CHANGES.md at main · highlightjs/highlight.js.
Read more >Why my Highlight.js dosen't work correctly? - Stack Overflow
... as 'node_modules/highlight.js/build/styles/zenburn.css')? Also note, in some scenarios you may have to build the highlight.js package ...
Read more >Line numbers — highlight.js 11.7.0 documentation
Highlight.js' notable lack of line numbers support is not an oversight but a ... in Highlight.js means that from that moment I will...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@joshgoebel Great job. Haven’t tried it but I definitely saw your commit that fixed this. Thanks for that!
@halirutan Also I’d suggest using
tools/developer
for debugging, not demo… it also doesn’t ahve this problem as it uses the non minified by default. 😃