Implement various improvements to the "console" lexer, closes issues #2496-#2498
ShellSessionBaseLexer: Support heredoc input ShellSessionBaseLexer: Only match prompt once tests: Support arbitrary Lexer options in snippets ShellSessionBaseLexer: Support whitespace in virtualenv prompt
Closes #2496 Closes #2497 Closes #2498
This is a PR to close issues #2496, #2497, #2498. [UPDATED] Looking forward to any feedback you may have, happy to also split this into smaller changes, if you think these modifications need more discussion. [UPDATE: Forced-push so we focus this PR on the lexer changes, will submit HTML formatter change separately]
Yes, please at least separate the HTML formatter change from console lexer changes.
@jeanas
Yes, please at least separate the HTML formatter change from console lexer changes.
ACK, I have forced push into this branch so we focus this PR on the lexer changes. I will submit the HTML formatter change separately. I have edited my comments above to reflect this.
@vkoukis Do you still plan to pursue this PR?
@vkoukis Do you still plan to pursue this PR?
@jeanas Yes, for sure. I haven't had enough free time recently to work on it, I would still like to pursue this though.