As a die-hard Quarto fan, you often find yourself needing to bridge gaps between different technologies. Recently, I faced an interesting challenge: converting FontAwesome’s CSS definitions into a Lua table, complete with Unicode escape sequences. This task, while seemingly straightforward, presented some unique hurdles. In this post, I’ll walk you through the R script I developed to tackle this problem.

The Challenge

FontAwesome provides its icons in a CSS file, where each icon is defined …