I've documented a few of the alternatives, including Carbon, on my website if you're interested.
https://www.marclittlemore.com/create-pretty-code-screenshot...
If you use VS Code, there are some decent plugins you can use like Polacode. I also like Screely for turning screenshots into browser mockups too.