10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
.. doctest:: >>> a @ b
As far as I can tell there's no way to pass the option that pygments wants to use the python3 lexer for parsing the python code. See e.g. http://pygments.org/docs/lexers/#pygments.lexers.python.PythonConsoleLexer
python3
Build this sphinx project: https://github.com/ngoldbaum/sphinx-bug-project
Warning, treated as error: /Users/goldbaum/Documents/sphinx-bug/source/index.rst:23:Could not lex literal_block as "pycon". Highlighting skipped.
Somehow be able to tell pygments to use the python3 lexer. Or just always use it? It's 2018...
The text was updated successfully, but these errors were encountered:
The discussion in https://bitbucket.org/birkenfeld/pygments-main/issues/1194/support-python-35s-matrix-multiplication might obviate the need to think about this.
Sorry, something went wrong.
I just post #5775. I believe it will resolve your problem. Thanks,
d6d4406
Merge pull request #5775 from tk0miya/5770_doctest_refers_highlight_l…
6113261
…anguage Fix #5770: doctest: Follow highlight_language on highlighting doctest block
Fixed by #5775 . Thank you for reporting!
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Problem
As far as I can tell there's no way to pass the option that pygments wants to use the
python3
lexer for parsing the python code. See e.g. http://pygments.org/docs/lexers/#pygments.lexers.python.PythonConsoleLexerProcedure to reproduce the problem
Build this sphinx project: https://github.com/ngoldbaum/sphinx-bug-project
Error logs / results
Expected results
Somehow be able to tell pygments to use the python3 lexer. Or just always use it? It's 2018...
Reproducible project / your project
Environment info
The text was updated successfully, but these errors were encountered: