Show More
@@ -35,7 +35,7 b' class CSSHtmlHeaderTransformer(ActivatableTransformer):' | |||
|
35 | 35 | |
|
36 | 36 | header = [] |
|
37 | 37 | |
|
38 | highlight_class = Unicode('highlight', config=True, | |
|
38 | highlight_class = Unicode('.highlight', config=True, | |
|
39 | 39 | help="CSS highlight class identifier") |
|
40 | 40 | |
|
41 | 41 | def __init__(self, config=None, **kw): |
@@ -103,7 +103,7 b' class CSSHtmlHeaderTransformer(ActivatableTransformer):' | |||
|
103 | 103 | |
|
104 | 104 | #Add pygments CSS |
|
105 | 105 | formatter = HtmlFormatter() |
|
106 |
pygments_css = formatter.get_style_defs( |
|
|
106 | pygments_css = formatter.get_style_defs(self.highlight_class) | |
|
107 | 107 | header.append(pygments_css) |
|
108 | 108 | |
|
109 | 109 | #Set header |
General Comments 0
You need to be logged in to leave comments.
Login now