Pull requests

#158 Merged
Repository
christianjann christianjann
Branch
default
Repository
birkenfeld birkenfeld
Branch
default

Added ShellSessionLexer

Author
  1. Christian Jann avatarChristian 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.

Comments (1)

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.