Skip to content

Commit 6699255

Browse files
authored
fix(scripts/build-gh-pages): add code selector for pygments styles (#69)
1 parent 7ca0dd0 commit 6699255

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
@@ -54,7 +54,7 @@ def postprocess_css(content: str, important: bool) -> str:
5454
def flavor_css(flavor: str) -> str:
5555
style = PYGMENTS_STYLES[flavor]
5656
formatter = HtmlFormatter(style=style)
57-
return formatter.get_style_defs("pre")
57+
return formatter.get_style_defs(["pre", "code"])
5858

5959

6060
def variable_css() -> str:

0 commit comments

Comments
 (0)