Show More
@@ -53,8 +53,9 b' def generate_css(web, req, tmpl):' | |||
|
53 | 53 | req.respond(common.HTTP_OK, 'text/css') |
|
54 | 54 | return ['/* pygments_style = %s */\n\n' % pg_style, fmter.get_style_defs('')] |
|
55 | 55 | |
|
56 | # monkeypatch in the new version | |
|
57 | extensions.wrapfunction(webcommands, '_filerevision', filerevision_highlight) | |
|
58 |
extensions.wrapfunction(webcommands, ' |
|
|
59 | webcommands.highlightcss = generate_css | |
|
60 | webcommands.__all__.append('highlightcss') | |
|
56 | def extsetup(): | |
|
57 | # monkeypatch in the new version | |
|
58 | extensions.wrapfunction(webcommands, '_filerevision', filerevision_highlight) | |
|
59 | extensions.wrapfunction(webcommands, 'annotate', annotate_highlight) | |
|
60 | webcommands.highlightcss = generate_css | |
|
61 | webcommands.__all__.append('highlightcss') |
General Comments 0
You need to be logged in to leave comments.
Login now