Skip to content

Commit

Permalink
πŸ“š DOCS: correct key name for cell metadata (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 authored Jun 22, 2022
1 parent c72a3a2 commit 9099e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/render/format_code_cells.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ nb_mime_priority_overrides = [
## Images and Figures

With the default renderer, for any image types output by the code, we can apply formatting *via* cell metadata.
The top-level metadata key can be set using `nb_cell_metadata_key` in your `conf.py`, and is set to `render` by default.
The top-level metadata key can be set using `nb_cell_metadata_key` in your `conf.py`, and is set to `mystnb` by default.
Then for the image we can apply all the variables of the standard [image directive](https://docutils.sourceforge.io/docs/ref/rst/directives.html#image):

- **width**: length or percentage (%) of the current line width
Expand Down

0 comments on commit 9099e2c

Please sign in to comment.