prism (2)

Change the Prism font-size

After implementing Prism I wanted to make the default font in which the code was displayed a bit smaller. By default the code font-size seems to be even bigger than the rest of the content.

My first thought was "ehh, just adjust the font-size" but that didn't work very well for the line numbers.

Continue reading...

Prism for syntax highlighting

Prism, is a lightweight, extensible syntax highlighter, built with modern web standards in mind. It’s used in thousands of websites, including some of those you visit daily. The paragraph above is from the Prism website, I use Prism in combination with Publii to "supercharge" my…

Continue reading...