Style: 'native'
This commit is contained in:
parent
053c232f9c
commit
e71b412981
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ lenguaje = get_lexer_by_name("python", stripall=True)
|
|||
codigo = pyperclip.paste()
|
||||
|
||||
# Generar la imagen
|
||||
img = highlight(codigo, lenguaje, ImageFormatter(style='manni'), outfile="/tmp/codigo.png")
|
||||
img = highlight(codigo, lenguaje, ImageFormatter(style='native'), outfile="/tmp/codigo.png")
|
||||
|
||||
# Abrir la imagen generada
|
||||
os.system('open /tmp/codigo.png')
|
Loading…
Reference in a new issue