logoalt Hacker News

rnhmjojtoday at 5:03 PM2 repliesview on HN

There's a more cursed one here: https://rgbcu.be/blog/htmnix. It hijacks the Nix search paths syntax (e.g. import <path> {}) to create html tags.


Replies

granratoday at 6:19 PM

I had seen a few of those `__findFile` hackery articles lately and did actually consider doing that but I think having a nice way of adding HTML attributes would've been clunky :p

Edit: although looking at this article it seems to be supported.

JoelMcCrackentoday at 6:06 PM

oh my god, what a horrible but incredible idea