Sure, it uses prismjs as a code highlighter:
I then started with the font from this thread:
and edited it so that the special symbols were in the right place.
Created a custom syntax definition for prismjs that has all the built-in functions listed and a .css file to define all the colours.
It's part of a stupid website I use to put stuff online for my students, but you're more than welcome to steal what I've done. Props to @RhythmLynx who made the original font.
Website Repo: https://github.com/MalphasWats/computing.codes
Prism & syntax definition:
it's all a bit fiddly because it's part of a github pages website. If you get stuck, I could probably separate it out into its own repository to make things a little more obvious.
[Please log in to post a comment]