charmbracelet / freeze

Generate images of code and terminal output 📸
MIT License
3.45k stars 61 forks source link

Support bold in ANSI coloring #75

Open applejag opened 7 months ago

applejag commented 7 months ago

Is your feature request related to a problem? Please describe. Want bold styling to show in the images.

Describe the solution you'd like Just enabling simple bold styling on the text, as you have commented-out in ansi.go: https://github.com/charmbracelet/freeze/blob/80803ebd021ee31dacdf77dca2674d05b0c81b8b/ansi.go#L140-L142

Why is that commented out?

Describe alternatives you've considered I have tried cloning the repo, uncommenting that line, and it seems to work just fine. Not a super nice workflow though.

Additional context