For Highlight.js languages webassembly or wasm are not in the list and not working

AI-generated summary

The discussion revolves around the support for WebAssembly languages (wasm or webassembly) in Highlight.js. EricGT initially reports that Highlight.js supports wasm as of July 2022, but it wasn’t working on their hosted site (SWI-Prolog) despite adding wasm and webassembly. Falco points out that Discourse was using an outdated version of Highlight.js (10.7.0). Later, EricGT finds that wasm is now working on their site, and Falco confirms that they had recently upgraded Discourse to the latest version of Highlight.js, which includes the feature.

Hightlight.js supports wasm (WebAssembly) as of 2022-07-13

For our hosted site (SWI-Prolog) added both wasm and webassembly (ref) but the representation did not change. (ref)

Is there anything I am missing?

That’s version 11.6.0, and we are still using version 10.7.0 on Discourse

Follow-up

In checking to see if highlight.js wasm is now working on our site (SWI-Prolog), it appears to be working. (ref)

I could not find the change in the code on GitHub but the effect speaks for itself.

Thanks. :slightly_smiling_face:

Yes, last week I did upgrade Discourse to the latest version of HighlightJS, so we have all features of their current version.

I’ve slid the update over to the original topic to keep it all together. :slightly_smiling_face::+1: