Build-time code syntax highlighting using Prism.
The result can then be styled by adding the Prism CSS theme of your choice. This plugin comes with a theme that aims to be accessible and that supports both light and dark modes.
See the documentation for more information.