It is, have a look at the implementation of the prism library https://getpublii.com/docs/highlight-your-code-syntax-with-prism-js.html
--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!