This page was generated from doc/gallery/gallery-with-links.ipynb. Interactive online version: Binder badge. Download notebook.

Gallery With Links (HTML only)ΒΆ

Contrary to nbsphinx-gallery, the cell tag/metadata nbsphinx-link-gallery creates a gallery from notebooks (and other source) files without including them as sub-sections. Other than that, it works in a similar way, but only the options "name", "caption" and "reversed" are supported. In LaTeX output, this has no effect. The cell is ignored and nothing is added to the LaTeX document.

In reST files (and raw reST cells), the nblinkgallery directive can be used.

The following Markdown cell has the nbsphinx-link-gallery tag, which turns the contained links into a gallery and uses the first section title as caption:


Last update: Jan 01, 2023