Pull requests

#82 Merged
Repository
icholy
Branch
default
Repository
birkenfeld
Branch
default

added `linespans` option to HtmlFormatter to wrap lines in spans

Author
  1. Ilia Choly
Reviewers
Description

If set to a nonempty string, e.g. foo, the formatter will wrap each output line in a span tag with an id of foo-linenumber. This allows easy access to lines via javascript.

  • Learn about pull requests

Comments (0)