# The syntax highlighter doesn't support \`--word-diff\`s

**URL:** https://meta.discourse.org/t/the-syntax-highlighter-doesnt-support-word-diff-s/387410
**Category:** Support
**Created:** [November 2, 2025, 9:03pm UTC](https://meta.discourse.org/t/the-syntax-highlighter-doesnt-support-word-diff-s/387410 "2025-11-02T21:03:55Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [November 2, 2025, 11:12pm UTC](https://meta.discourse.org/t/the-syntax-highlighter-doesnt-support-word-diff-s/387410/2 "2025-11-02T23:12:43Z")

</div>

I think it is best reporting this to hljs on GitHub, given it is an issue with the default diff implementation:

> **[Demo - highlight.js](https://highlightjs.org/demo)**
>
> Preview how highlight.js will highlight your code snippets and share them with other syntax highlighting nerds

> **[Issues · highlightjs/highlight.js](https://github.com/highlightjs/highlight.js/issues)**
>
> JavaScript syntax highlighter with language auto-detection and zero dependencies. - Issues · highlightjs/highlight.js

Discourse really can not control this easily, we simply pull the changes from upstream.

---

_[View the full topic](https://meta.discourse.org/t/the-syntax-highlighter-doesnt-support-word-diff-s/387410)._
