'How do I do the prismjs diff highlight with language in my markdown file

This (```js) for JavaScript language

This (```diff) works for diff.

But I don't know I to use both in my markdown file. I'm trying to achieve this in the docs https://prismjs.com/plugins/diff-highlight/



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source