Why do you use Highlight.js vs Prism (or any other highlighting engine - JS or not)? I'm trying to get some vibes on what our perceived uniqueness is, why people prefer us to alternatives, etc.
https://t.co/qTOlSey2Zk
Helpful Stan Functions doc now with light/dark theme switcher! Now just need to get @highlightjs updated for and add native Stan syntax highlighting for Stan 2.28 @mcmc_stan
@ayanmullick@dreamer3 I don't think. We're really just a very smart pattern matcher - we don't try to parse the underlying grammar deeply. We'd like to color brackets and operators more in the future, but pairing is probably a bit too much. Also often we work with snippets, no pairs guaranteed.
Just released: VanillaTreeViewer v2.0.0!
* Newly improved API to define files
* Updated @highlightjs dependency from 10.4.1 -> 11.3.1
* Case sensitive file path support
Try it out: https://t.co/eigpHEwF0X
Get started: https://t.co/DnyS3Ha6ak
@usmaanLog @MaxProgramming1 If you're using a content generator usually it's a simple matter of just having it properly escape the code when it generates the HTML - which needs to be done for security reasons.
@npmjs Why does `npm deprecate` NEVER work properly? It'll work once, but then I almost always get "deprecations must be strings" for add requests... then if I switch to a VPN it often works again. Please provide a useful error message. If there is throttling, explain why.
Day 4: Contributed to @highlightjs. It is a really nice library for syntax highlighting everyone should check it out. It supports almost every language.
#OpenSource#DEVCommunity
Highlight.js v11.0.0-beta1 just released to NPM and CDN. Get it while it's hot. Hopefully this is the exact code we'll end up shipping as the v11 release.
https://t.co/M0VEGlanfd
If you can upgrade your project and help test we'd surely appreciate it!
Anyone with a complex build pipeline... or ESM only or still stuck on CJS... we could use beta testers for Highlight.js v11.0.0. We're planning to ship both EMS+CJS in a single package if the magic of conditional exports works for everyone.
Highlight.js v11 alpha1 is released to npm and CDN. https://t.co/zHDrdvjYH7 Added beginScope, endScope, multi-scope, ESM, whole bundle of Base16 themes and more. We could use alpha testers. https://t.co/M0VEGlanfd