mirror of
https://github.com/catppuccin/python.git
synced 2026-02-04 14:13:16 +08:00
feat(css): target pre[lang] in addition to pre
This commit is contained in:
parent
6c746c1ca7
commit
a8eb6b994b
@ -38,7 +38,7 @@ def postprocess_css(content: str) -> str:
|
||||
def flavor_css(flavor: str) -> str:
|
||||
style = PYGMENTS_STYLES[flavor]
|
||||
formatter = HtmlFormatter(style=style)
|
||||
return formatter.get_style_defs("pre")
|
||||
return formatter.get_style_defs(["pre", "pre[lang]"])
|
||||
|
||||
|
||||
def variable_css() -> str:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user