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

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

2 Likes

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:

1 Like

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

4 Likes

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

1 Like