Mercurial > hg
comparison hgext/highlight.py @ 6199:0068809347d7
highlight: forgot import
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Fri, 29 Feb 2008 14:48:21 -0800 |
parents | 358cc9cf54db |
children | e75aab656f46 |
comparison
equal
deleted
inserted
replaced
6198:358cc9cf54db | 6199:0068809347d7 |
---|---|
40 from mercurial.node import hex | 40 from mercurial.node import hex |
41 from mercurial.templatefilters import filters | 41 from mercurial.templatefilters import filters |
42 | 42 |
43 from pygments import highlight | 43 from pygments import highlight |
44 from pygments.util import ClassNotFound | 44 from pygments.util import ClassNotFound |
45 from pygments.lexers import guess_lexer_for_filename, TextLexer | 45 from pygments.lexers import guess_lexer, guess_lexer_for_filename, TextLexer |
46 from pygments.formatters import HtmlFormatter | 46 from pygments.formatters import HtmlFormatter |
47 | 47 |
48 SYNTAX_CSS = ('\n<link rel="stylesheet" href="#staticurl#highlight.css" ' | 48 SYNTAX_CSS = ('\n<link rel="stylesheet" href="#staticurl#highlight.css" ' |
49 'type="text/css" />') | 49 'type="text/css" />') |
50 | 50 |