luckyframework
-
Server side syntax highlighting with Crystal lang, NOIR and Lucky framework
by Vincent Jousse
I hate to rely on Javascript to highlight code. This is something that we can and should do on the backend IMHO: no point in overloading the browser for that. This blog is written in Crystal and Lucky Framework and I was using Prism.js to highlight my code as I didn't found a ready to be used solution at that time. It's not the case anymore: NOIR and some custom renderer for Github Flavored Mardown library cr-mark-gfm did the trick. Here is a little tutorial on how I did it.