Skip to content

Commit a8eb6b9

Browse files
committed
feat(css): target pre[lang] in addition to pre
1 parent 6c746c1 commit a8eb6b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build-gh-pages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def postprocess_css(content: str) -> str:
3838
def flavor_css(flavor: str) -> str:
3939
style = PYGMENTS_STYLES[flavor]
4040
formatter = HtmlFormatter(style=style)
41-
return formatter.get_style_defs("pre")
41+
return formatter.get_style_defs(["pre", "pre[lang]"])
4242

4343

4444
def variable_css() -> str:

0 commit comments

Comments
 (0)