New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct Syntax highlighting for Tracebacks #472
Comments
We are using https://kramdown.gettalong.org/syntax_highlighter/rouge.html. I think that, for example, https://github.com/swcarpentry/python-novice-inflammation/blob/gh-pages/_episodes/07-errors.md if you change
to
you might get the desired output. |
Yes I just tried it and indeed we would have syntax highlighting for errors and outputs by replacing: and That would be a great contribution to the lesson. Would you do that @miili ? |
Can do, for at least the Error lesson! Take me as assigned. |
Thank you so much! |
Anne, you are welcome. |
Would be nice to have correct syntax highlighting on the SWC material.
Pygments supports these as
pytb
.http://pygments.org/docs/lexers/#pygments.lexers.python.PythonTracebackLexer
The text was updated successfully, but these errors were encountered: