PrismJS / prism

Lightweight, robust, elegant syntax highlighting.
https://prismjs.com
MIT License
12.34k stars 1.29k forks source link

feat: support the new angular "@-syntax" #3747

Open JeanMeche opened 1 year ago

JeanMeche commented 1 year ago

Angular v17 introduces a new syntax that is not compatible anymore with pure HTML. This PR introduces a new component for the languages "angular" and its alias "ng".

I'm willing to provide update & fixes for this component if needed as I am already using on my personnal website. You can see a working demo of the new component here.

github-actions[bot] commented 1 year ago

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +325 B (+100.0%).

| file | master | pull | size diff | % diff | | --- | --- | --- | --- | --- | | components/angular.min.js | 0 Bytes | 325 B | +325 B | +100.0% |

Generated by :no_entry_sign: dangerJS against 6de2399151260b826b63020f236f0e40f90ce05a