A Pygments plugin for IPython code & console sessions
IPython is an interactive Python shell. Among other features, it adds some
special convenience syntax, including %magics, !shell commands and help?. This
package contains lexers for these, to use with the Pygments syntax highlighting
package.
- The ipython lexer should be used where only input code is highlighted
- The ipythonconsole lexer works for an IPython session, including code,
prompts, output and tracebacks.
These lexers were previously part of IPython itself (in IPython.lib.lexers), but
have now been moved to a separate package.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-ipython-pygments-lexers listed in the above command, you can pick from the names under the Packages section.
devel/py-ipython-pygments-lexers: Add py-ipython-pygments-lexers 1.1.1
A Pygments plugin for IPython code & console sessions
IPython is an interactive Python shell. Among other features, it adds some
special convenience syntax, including %magics, !shell commands and help?. This
package contains lexers for these, to use with the Pygments syntax highlighting
package.
- The ipython lexer should be used where only input code is highlighted
- The ipythonconsole lexer works for an IPython session, including code,
prompts, output and tracebacks.
These lexers were previously part of IPython itself (in IPython.lib.lexers), but
have now been moved to a separate package.