(self, lines, **kwargs)
| 25 | class FunctionHtmlFormatter(HtmlFormatter): |
| 26 | """Custom HTML formatter to insert extra information with the lines.""" |
| 27 | def __init__(self, lines, **kwargs): |
| 28 | HtmlFormatter.__init__(self, **kwargs) |
| 29 | self.lines = lines |
| 30 | |
| 31 | def wrap(self, source, outfile): |
| 32 | for i, (c, t) in enumerate(HtmlFormatter.wrap(self, source, outfile)): |