Converting Notebooks to reStructedText
The reStructuredText (.rst
) format is a simple, plain-text markup language that is used for programming documentation.
How to do it...
With the Notebook loaded into Jupyter, you can select the Download
reST format file. You are then prompted to handle the download to your machine.
How it works...
As with some of the other downloads, the downloaded file is in .zip
format, containing the .rst
file and a .png
of the graphic. The files are all named as the name of the Notebook followed by the appropriate extension (.zip
, .rst
, and .png
). My files used the Notebook name of B09656_07+r+iris+for+conversions
.
There are many .rst
file viewers available. In the one I picked, the display looks like:
Which, I think, is one of the better renderings of this information.
The plot graphic .png
is also included; it looks as shown earlier.
The internals of the .rst
file look like a combination of HTML and markup:
This is similar to other generated formats, especially HTML. There...