Tag: Foundation

Add PrismJS Code Highlighting to Foundation for Sites

Note: This is for a zurb template build via the CLI install and more complex gulp workflow. Results were discovered and tested while working on foundation.d11z.com/.

To include the PrismJS code highlighting library into Foundation’s webpack build, I had to do a little bit more than just run npm i prismjs. It’s not difficult, but it does require editing a few extra files in tandem.