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

**URL:** https://meta.discourse.org/t/for-highlight-js-languages-webassembly-or-wasm-are-not-in-the-list-and-not-working/235627
**Category:** Support
**Created:** [August 9, 2022, 5:08pm UTC](https://meta.discourse.org/t/for-highlight-js-languages-webassembly-or-wasm-are-not-in-the-list-and-not-working/235627 "2022-08-09T17:08:48Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [August 9, 2022, 5:08pm UTC](https://meta.discourse.org/t/for-highlight-js-languages-webassembly-or-wasm-are-not-in-the-list-and-not-working/235627/1 "2022-08-09T17:08:48Z")

</div>

Hightlight.js supports `wasm` ([WebAssembly](https://en.wikipedia.org/wiki/WebAssembly)) as of [2022-07-13](https://highlightjs.org/#news-148)

For our hosted site ([SWI-Prolog](https://swi-prolog.discourse.group/)) added both `wasm` and `webassembly` ([ref](https://swi-prolog.discourse.group/admin/site_settings/category/all_results?filter=syntax)) but the representation did not change. ([ref](https://swi-prolog.discourse.group/t/hightlight-js-wasm-test-pag/5671))

Is there anything I am missing?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [August 9, 2022, 5:39pm UTC](https://meta.discourse.org/t/for-highlight-js-languages-webassembly-or-wasm-are-not-in-the-list-and-not-working/235627/2 "2022-08-09T17:39:52Z")

</div>

> [@EricGT](#):
>
> Is there anything I am missing?

That’s version 11.6.0, and we are still [using version 10.7.0](https://github.com/discourse/discourse/blob/main/package.json#L11) on Discourse

---

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [September 25, 2022, 1:24pm UTC](https://meta.discourse.org/t/for-highlight-js-languages-webassembly-or-wasm-are-not-in-the-list-and-not-working/235627/4 "2022-09-25T13:24:23Z")

</div>

**Follow-up**

In checking to see if highlight.js **wasm** is now working on our site ([SWI-Prolog](https://swi-prolog.discourse.group/)), it appears to be working. ([ref](https://swi-prolog.discourse.group/t/hightlight-js-wasm-test-page/5671))

I could not find the change in the [code](https://github.com/discourse/discourse) on GitHub but the effect speaks for itself.

Thanks. 🙂

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [September 25, 2022, 2:28pm UTC](https://meta.discourse.org/t/for-highlight-js-languages-webassembly-or-wasm-are-not-in-the-list-and-not-working/235627/5 "2022-09-25T14:28:24Z")

</div>

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

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [September 26, 2022, 3:22am UTC](https://meta.discourse.org/t/for-highlight-js-languages-webassembly-or-wasm-are-not-in-the-list-and-not-working/235627/7 "2022-09-26T03:22:00Z")

</div>

I’ve slid the update over to the original topic to keep it all together. 🙂👍

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [October 26, 2022, 3:22am UTC](https://meta.discourse.org/t/for-highlight-js-languages-webassembly-or-wasm-are-not-in-the-list-and-not-working/235627/8 "2022-10-26T03:22:23Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
