First of all, I want to thank you for a wonderful module! This was what I was looking for and almost began to use Selenium for this.
I want the background of the line numbering to match the background of all the code. But apparently in the code I did not find where to specify the background color for the lines.
from code2image.cls import Code2ImageBackground
c2i = Code2ImageBackground(code_bg='#243036', img_bg='#5b81e3', line_numbers=True, shadow_dt=1)
with open('coding/requests-status-code/code.py') as f:
code = f.read()
img = c2i.highlight(code)
# save the image
img.show()
Result:

Also, the rectangle border radius is hardcoded and I can't change it from Code2Image attributes?
First of all, I want to thank you for a wonderful module! This was what I was looking for and almost began to use Selenium for this.
I want the background of the line numbering to match the background of all the code. But apparently in the code I did not find where to specify the background color for the lines.
Result:

Also, the rectangle border radius is hardcoded and I can't change it from
Code2Imageattributes?