textproc/py-ipython_pygments_lexers 1.1.1p0 OpenBSD
pygments plugin for ipython
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Last update
- Commit
b7bdb54ad4- Categories
- textproc, lang/python
Description
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, but have now been moved to a separate package.
Install
Binary package:
pkg_add py3-ipython_pygments_lexers
From the ports tree:
cd /usr/ports/textproc/py-ipython_pygments_lexers && make install