loading...

Discussion on: Crystal Review

Collapse
yujiri8 profile image
Ryan Westlund Author

Ooh I think I found that library but I don't remember why I thought it wouldn't do. It seems good enough. It's too late to switch away from Crystal now, but I wonder if I could use that library from Crystal.

Collapse
yujiri8 profile image
Ryan Westlund Author

Oh yeah I think I should mention that the plan to use GNU source-highlight fell through. I found out it only supports using the color attribute and not CSS class names, which means I can't use a stylesheet to change the colors at runtime, which is necessary for my dark mode switch. I didn't mention this in the post just because it happened recently so it wasn't relevant to "how Crystal and I met".

So I will be checking if there's a way I can use syntect