Skip to content

Commit 0d4bc26

Browse files
Guard execute: option usage, note compatibility
1 parent efe5374 commit 0d4bc26

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/directives/replite.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,14 @@ global value using an additional `:new_tab_button_text:` parameter:
111111
plt.show()
112112
```
113113

114-
It is also possible to disable the execution of the code in the Replite console by setting the `:execute:` option to `False`:
114+
````{tip}
115+
116+
With `jupyterlite-core` **versions 0.5.0 and later**, it is also possible to disable the execution of
117+
the code in the Replite console by setting the `:execute:` option to `False`. This option defaults to `True`,
118+
and setting it has no effect in versions prior to 0.5.0.
119+
120+
The behaviour can also be [configured globally](../configuration.md#replite-auto-execution-with-the-replite-directive)
121+
and then overridden in individual directives as needed.
115122
116123
```rst
117124
.. replite::
@@ -149,5 +156,4 @@ It is also possible to disable the execution of the code in the Replite console
149156
plt.show()
150157
```
151158
152-
The behaviour can also be [configured globally](../configuration.md#replite-auto-execution-with-the-replite-directive)
153-
and then overridden in individual directives.
159+
````

0 commit comments

Comments
 (0)