You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/directives/try_examples.md
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ positioning of the button. The css for the example above is
117
117
118
118
119
119
The `try_examples` directive has options
120
-
*`:height:` To set a specific value for the height of the [iframe](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe) containing the embeddednotebook.
120
+
*`:height:` To set a specific value for the height of the [iframe](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe) containing the embedded notebook.
121
121
*`:button_text` To customize the text of the button that replaces the rendered examples with an embedded notebook.
122
122
*`:theme:` This works the same as for the other JupyterLite-Sphinx directives.
123
123
*`:example_class:` An html class to attach to the outer container for the rendered
@@ -204,7 +204,9 @@ allowing for specification of examples sections which should not be made interac
204
204
205
205
206
206
The button text, theme, and warning text can be set globally with the config variables
207
-
`try_examples_global_button_text`, `try_examples_global_theme`, and `try_examples_global_warning_text`.
207
+
`try_examples_global_button_text`, `try_examples_global_theme`, and `try_examples_global_warning_text` in `conf.py`;
208
+
these apply both to automatically and manually inserted directives. Options set explicitly in a directive will
0 commit comments