Skip to content

New Jupyter Notebook support and SVG export

Compare
Choose a tag to compare
@willmcgugan willmcgugan released this 01 May 08:50
· 7 commits to main since this release

Rich-cli 1.7.0 Adds support for Jupyter notebook, with Markdown and syntax highlighting. The following video shows Notebook rendering in conjunction with the --pager option.

Screen.Recording.2022-04-30.at.11.09.22.mov

Also in this release is a new --export-svg option which will export anything you print via Rich as an SVG.

The following command will render the first 10 entries in a CSV and export a filed called deniro.svg:

rich deniro.csv --export-svg deniro.svg --head 10

Here's what the output looks like in a browser:

Screenshot 2022-05-01 at 09 45 18