This page was generated from doc/gallery/gallery-with-links.ipynb. Interactive online version: . 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`:

This is a thumbnail gallery with links to existing documents:

An Orphan Notebook
Notebook About Code Cells
Thumbnail With a Tooltip
A Page About Contributing (Not a Notebook)
A Page Using reStructuredText (Not a Notebook)