Unsupported diff-* highlightingSee original GitHub issue
Prism allows convenient diff line highlighting with preservation of underlying syntax highlighting via a Diff Highlight plugin: https://prismjs.com/plugins/diff-highlight/
However, trying to use it via 11ty via e.g.
Looks like this might require some special handling similarly to TypeScript tag?
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top GitHub Comments
Starting with now-available v3.2.1 of this plugin, you can use
diff- on the prefix of your language and Eleventy will use the official Prism.js diff-highlight plugin. Look to https://www.11ty.dev/docs/plugins/syntaxhighlight/ soon for the official docs on this.