Pull requests

#158 Merged
Repository
christianjann
Branch
default
Repository
birkenfeld
Branch
default

Added ShellSessionLexer

Author
  1. Christian Jann
Reviewers
Description

Hi I've added a shell-session lexer to Tinkerer that could be useful to other people too, the Tinkerer code is located here: https://bitbucket.org/vladris/tinkerer-contrib/src/025dcfa13a3d246f091c78cab2b93f6cbe5e24d3/shellsession?at=default.

Have a look at the demo: https://bitbucket.org/christianjann/pygments-shell-session-lexer-demo and the comparison: http://www.jann.cc/pygments-shell-session-lexer-demo/shell_code_comparison.html to see why I could not use the console/BashSessionLexer, I hope it was the right decision the create a new lexer and not to modify the behavior of the BashSessionLexer.

  • Learn about pull requests

Comments (1)