Recent Posts (all)

X11 and System Fonts in Mac Os X

If you also have experienced some problem accessing fonts presents in /System/Library/Fonts with X11 applications (like Inkscape and The Gimp), then you may have found the solution: copy the fonts you would like to use from /System/Library/Fonts to /Library/Fonts, restart X11 and..retry!

Adding dynamic syntax highlighting based on the system theme

Hugo Chroma Syntax Highlighting Dark/Light Mode

One of the issues I still had with this blog was that the syntax highlighting for code blocks was static and generated at compile time, whereas the rest of the site changed colors based on the system theme.

I’m glad I fixed it today following the linked article.

15/15