Actually, the core of the Prism is so small, but with the various language syntaxes (mostly available in Highlight.js, see
https://highlightjs.org/static/demo/), its size will be quite large.
In any case, it is more advantageous than Highlight.js in that everyone can choose the languages they want, ignore the ones they don't use, thus reducing the size.